Skip to content

Commit

Permalink
[flash_ctrl,dv] Correct syntax in flash_ctrl_phy_arb_redun_vseq
Browse files Browse the repository at this point in the history
It seems that VCS accepts the code that was there but it isn't quite
in accordance with the allowed syntax for structure literals (see IEEE
1800, section 5.10). Fortunately, the fix is pretty trivial!

Signed-off-by: Rupert Swarbrick <[email protected]>
  • Loading branch information
rswarbrick committed Oct 30, 2024
1 parent 4a32bb2 commit 11f4162
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class flash_ctrl_phy_arb_redun_vseq extends flash_ctrl_err_base_vseq;

`define HIER_PATH(prefix, copy, suffix) `"prefix.copy.suffix`"

arb_t arbs[NumArbiters] = {
arb_t arbs[NumArbiters] = '{
'{
name: "host_arb[0]",
copy_0_req: `HIER_PATH(`HOST_ARB_0_PREFIX, `COPY_0, `REQ_SUFFIX),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class flash_ctrl_phy_arb_redun_vseq extends flash_ctrl_err_base_vseq;

`define HIER_PATH(prefix, copy, suffix) `"prefix.copy.suffix`"

arb_t arbs[NumArbiters] = {
arb_t arbs[NumArbiters] = '{
'{
name: "host_arb[0]",
copy_0_req: `HIER_PATH(`HOST_ARB_0_PREFIX, `COPY_0, `REQ_SUFFIX),
Expand Down

0 comments on commit 11f4162

Please sign in to comment.