diff options
Diffstat (limited to 'tests/memlib/memlib_multilut.txt')
-rw-r--r-- | tests/memlib/memlib_multilut.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/memlib/memlib_multilut.txt b/tests/memlib/memlib_multilut.txt new file mode 100644 index 000000000..387f4f8e2 --- /dev/null +++ b/tests/memlib/memlib_multilut.txt @@ -0,0 +1,19 @@ +ram distributed \LUT_MULTI { + abits 4; + width 2; + init any; + port arsw "RW" { + clock posedge; + } + ifdef PORTS_QUAD { + option "PORTS" "QUAD" { + port ar "R0" "R1" "R2" { + } + } + } else ifdef PORTS_OCT { + option "PORTS" "OCT" { + port ar "R0" "R1" "R2" "R3" "R4" "R5" "R6" { + } + } + } +} |