mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-01 12:07:51 +00:00
More tests in memlib/generate.py
Covers most of the todo list, at least functionally. Some minor issues with not always using hardware features.
This commit is contained in:
parent
af1b9c9e07
commit
7f033d3c1f
13 changed files with 1180 additions and 12 deletions
19
tests/memlib/memlib_multilut.txt
Normal file
19
tests/memlib/memlib_multilut.txt
Normal file
|
|
@ -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" {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue