aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch/ice40/rom.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arch/ice40/rom.v')
-rw-r--r--tests/arch/ice40/rom.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/arch/ice40/rom.v b/tests/arch/ice40/rom.v
index 0a0f41f37..71459fe38 100644
--- a/tests/arch/ice40/rom.v
+++ b/tests/arch/ice40/rom.v
@@ -2,7 +2,8 @@
Example from: https://www.latticesemi.com/-/media/LatticeSemi/Documents/UserManuals/EI/iCEcube201701UserGuide.ashx?document_id=52071 [p. 74].
*/
module top(data, addr);
-output [3:0] data;
+output [3:0] data; // Note: this prompts a Yosys warning, but
+ // vendor doc does not contain 'reg'
input [4:0] addr;
always @(addr) begin
case (addr)