| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Initialization of Anlogic DFFs
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As dffinit has already supported for different initialization strings
for DFFs and check for re-initialization, initialization of Anlogic
DFFs are now ready to go.
Support for set the init values of Anlogic DFFs.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Sometimes the FF cell might be initialized during the map process, e.g.
some FPGA platforms (Anlogic Eagle and Lattice ECP5 for example) has
only a "SR" pin for a FF for async reset, that resets the FF to the
initial value, which means the async reset value should be set as the
initial value. In this case the DFFINIT pass shouldn't reinitialize it
to a different value, which will lead to error.
Add a "-noreinit" parameter for the safeguard. If a FF is not
technically initialized before DFFINIT pass, the default value should be
set to x.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On some platforms the string to initialize DFF might not be "high" and
"low", e.g. with Anlogic TD it's "SET" and "RESET".
Add a "-strinit" parameter for dffinit to allow specify the strings used
for high and low.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
|\ \
| | |
| | | |
opt_lut: elimination fixes
|
| | |
| | |
| | |
| | | |
Otherwise, some LUTs will be missed during elimination.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
synth: add k-LUT mode
|
| | | | |
|
| | | | |
|
| | | | |
|
|\| | |
| | | |
| | | | |
cmp2lut: new techmap pass
|
| |/ / |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|\ \ \
| |/ /
|/| | |
Fix typographical and grammatical errors and inconsistencies
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The initial list of hits was generated with the codespell command
below, and each hit was evaluated and fixed manually while taking
context into consideration.
DIRS="kernel/ frontends/ backends/ passes/ techlibs/"
DIRS="${DIRS} libs/ezsat/ libs/subcircuit"
codespell $DIRS -S *.o -L upto,iff,thru,synopsys,uint
More hits were found by looking through comments and strings manually.
|
|\ \
| | |
| | | |
opt_lut: eliminate LUTs evaluating to constants or inputs
|
|/ / |
|
| |
| |
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|\ \
| | |
| | | |
anlogic: add latch cells
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add latch cells to Anlogic cells replacement library by copying other
FPGAs' latch code to it.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
| | |
| | |
| | |
| | | |
in techlibs/ecp5/Makefile.inc to permit out-of-tree builds
|
| | | |
|
|\ \ \
| | | |
| | | | |
proc_clean: remove any empty cases, if possible to do safely
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Previously, only completely empty switches were removed.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|\ \ \ \ |
|
| |\ \ \ \
| | |/ / /
| |/| | | |
manual: document $meminit cell and memory_* passes
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
tcl: add support for passing arguments to scripts
|
| | | |/ /
| | |/| | |
|
| |\ \ \ \
| | |/ / /
| |/| | | |
memory_collect: do not truncate 'x from \INIT
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The semantics of an RTLIL constant that has less bits than its
declared bit width is zero padding. Therefore, if the output of
memory_collect will be used for simulation, truncating 'x from
the end of \INIT will produce incorrect simulation results.
|
| |\ \ \
| | | | |
| | | | | |
Anlogic: let LUT5/6 have more cost than LUT4-
|
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
According to the datasheet of Anlogic Eagle FPGAs, The LUTs natively
in an Anlogic FPGA is LUT4 (in MSLICEs) and "Enhanced LUT5" (in
LSLICEs). An "Enhanced LUT5" can be divided into two LUT4s.
So a LUT5 will cost around 2x resource of a LUT4, and a LUT6 will cost
2x resource of a LUT5.
Change the -lut parameter passed to the abc command to pass this cost
info to the ABC process.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
| |\ \ \
| | | | |
| | | | | |
anlogic: fix Makefile.inc
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
During the addition of DRAM inferring support, the installation of
eagle_bb.v is accidentally removed.
Fix this issue.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
| |\ \ \
| | | | |
| | | | | |
anlogic: fix dbits of Anlogic Eagle DRAM16X4
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The dbits of DRAM16X4 is wrong set to 2, which leads to waste of DRAM
bits.
Fix the dbits number in the RAM configuration.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|\ \ \
| | | |
| | | | |
Add btor ops for $mul, $div, $mod and $concat
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
memory_dff: Fix typo when checking init value
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: David Shah <davey1576@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
(as proposed by Dan Gisselquist)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|/ /
| |
| |
| |
| |
| | |
front-end
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|