diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-05-16 01:08:04 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-05-24 05:58:19 -0600 |
| commit | b21c321a059e11edeece1c90d97776bb0716d7a0 (patch) | |
| tree | cb7c3e6c2a5f6fd153c3b01d61040a2c901e0ba8 /rtl/wb2axip/axivcamera.v | |
| parent | a6c23ba92d0c2cad9862de1cb11c19b4e06fc0e6 (diff) | |
rtl: fix quartus errors: parser, synthesis, fitter
Diffstat (limited to 'rtl/wb2axip/axivcamera.v')
| -rw-r--r-- | rtl/wb2axip/axivcamera.v | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rtl/wb2axip/axivcamera.v b/rtl/wb2axip/axivcamera.v index d5de9ad..af979c6 100644 --- a/rtl/wb2axip/axivcamera.v +++ b/rtl/wb2axip/axivcamera.v @@ -112,7 +112,7 @@ // //////////////////////////////////////////////////////////////////////////////// // -`default_nettype none +//`default_nettype none // }}} module axivcamera #( // {{{ @@ -122,12 +122,12 @@ module axivcamera #( // // We support five 32-bit AXI-lite registers, requiring 5-bits // of AXI-lite addressing - localparam C_AXIL_ADDR_WIDTH = 4, - localparam C_AXIL_DATA_WIDTH = 32, + /*local*/parameter C_AXIL_ADDR_WIDTH = 4, + /*local*/parameter C_AXIL_DATA_WIDTH = 32, // // The bottom ADDRLSB bits of any AXI address are subword bits - localparam ADDRLSB = $clog2(C_AXI_DATA_WIDTH)-3, - localparam AXILLSB = $clog2(C_AXIL_DATA_WIDTH)-3, + /*local*/parameter ADDRLSB = $clog2(C_AXI_DATA_WIDTH)-3, + /*local*/parameter AXILLSB = $clog2(C_AXIL_DATA_WIDTH)-3, // // OPT_LGMAXBURST parameter OPT_LGMAXBURST = 8, @@ -146,7 +146,7 @@ module axivcamera #( // while one is being read out the second can be read in. Can // also be set larger if desired. parameter OPT_LGFIFO = OPT_LGMAXBURST+1, - localparam LGFIFO = (OPT_LGFIFO < OPT_LGMAXBURST+1) + /*local*/parameter LGFIFO = (OPT_LGFIFO < OPT_LGMAXBURST+1) ? OPT_LGMAXBURST+1 : OPT_LGFIFO, // // AXI_ID is the ID we will use for all of our AXI transactions |
