diff options
author | Joel Holdsworth <joel@airwebreathe.org.uk> | 2018-04-27 17:06:44 +0100 |
---|---|---|
committer | Tim 'mithro' Ansell <me@mith.ro> | 2018-06-11 15:54:51 -0700 |
commit | ee84ee4d1b9c53b8bf988a4b58e14dadcb37ff75 (patch) | |
tree | 852714809bc6f13daaeef25e369bdbe57439ce6b /README | |
parent | 92751d505af0e2843694a1b59c89bb8896546aba (diff) | |
download | icestorm-ee84ee4d1b9c53b8bf988a4b58e14dadcb37ff75.tar.gz icestorm-ee84ee4d1b9c53b8bf988a4b58e14dadcb37ff75.tar.bz2 icestorm-ee84ee4d1b9c53b8bf988a4b58e14dadcb37ff75.zip |
icebox_hlc2asc: Allow truth tables to be specified as init string.
Examples;
```hlc
lutff_5 {
# - Parameters -------
# LUT_INIT = 0111111110000000
local_g3_4 -> lutff_5/in_0
local_g0_6 -> lutff_5/in_1
local_g2_7 -> lutff_5/in_2
lutff_5/out -> span4_x3_g12_11
lutff_5/out -> local_g3_5 -> lutff_5/in_3
out = 16'b0111111110000000
enable_dff
}
```
```hlc
lutff_4 {
local_g3_5 -> lutff_4/in_2
lutff_4/out -> span12_y12_g6_0
out = 16'b0000000000010000
enable_dff
}
```
```hlc
lutff_2 {
# - Parameters -------
# LUT_INIT = 01
lutff_2/out -> span12_y12_g8_0
lutff_2/out -> span12_x2_g14_0
lutff_2/out -> local_g0_2 -> lutff_2/in_0
out = 2'b01
enable_dff
}
```
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions