aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-18Added easier to read chip_select/reset functions.Piotr Esden-Tempski
Just calling a gpio function with two numbers was not very self explanatory. The functions now refer to the actual indended action, chip (de)select for flash, reset and chip (de)select for sram. Reading the code and understanding what steps are taken should be easier now.
2018-08-16Added more code comments.Piotr Esden-Tempski
Main point was to group the code into three logical segments: * MPSSE/FTDI defines and functions * FLASH defines and functions * iceprog implementation core While I was at it I also added a few comments for stuff that was not immediately obvious what it does.
2018-08-09Merge pull request #180 from litghost/add_5xClifford Wolf
Add 5k support to hlc2asc.
2018-08-09Add 5k support to hlc2asc.Keith Rothman
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-07-30Also install text timing databasesClifford Wolf
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-20Merge pull request #176 from elmsfu/hlc2asc/lut_keyword_fixClifford Wolf
icebox_hlc2asc: fix _lut_ keyword parsing
2018-07-20Merge pull request #175 from daveshah1/fix_lutcascadeClifford Wolf
icetime: Remove non-existent paths from ce/sr to ltout
2018-07-19icebox_hlc2asc: fix _lut_ keyword parsingElms
'self.lut_bits is None' was always false. The _lut_ keyword is used by asc2hlc, so when converting asc->hlc->asc the lut_bits were always all zeros.
2018-07-19icetime: Remove non-existent paths from ce/sr to ltoutDavid Shah
Signed-off-by: David Shah <davey1576@gmail.com>
2018-07-19Spelling fixes in messagesLarry Doolittle
2018-07-17Merge pull request #173 from osresearch/parallel-makeClifford Wolf
Allow parallel make all to build each subdir simultaneously
2018-07-17Allow parallel make all to build each subdir simultaneouslyTrammell Hudson
2018-07-17Merge pull request #172 from mithro/hlc-glbClifford Wolf
hlc: Use glb_network for current device.
2018-07-16hlc: Use glb_network for current device.Tim 'mithro' Ansell
Previously the 1k global networks were hard coded. This now uses the values from the given part.
2018-07-10Merge pull request #169 from mithro/patch-1Clifford Wolf
Update README to be clearer
2018-07-10Merge pull request #168 from elmsfu/hlc2asc/verilog_literal_ram_dataClifford Wolf
icebox_hlc2asc: Allow data of ram to use verilog literal format
2018-07-10Merge pull request #167 from mithro/icebox_vlog_driversClifford Wolf
icebox_vlog: Better information about drivers for nets.
2018-07-10Merge pull request #164 from mithro/global-fixClifford Wolf
Fix spelling and io_X/GLOBAL_OUTPUT_NETWORK
2018-07-10Merge pull request #170 from mithro/const-lut-outClifford Wolf
icebox_vlog: Fix constant LUT output.
2018-07-08icebox_vlog: Fix constant LUT output.Tim 'mithro' Ansell
2018-07-08icebox_vlog: Save error message to file and print it.Tim 'mithro' Ansell
Previously if you were doing; `icebox_vlog example.asc > example_bit.v` you would just get; ``` Traceback (most recent call last): File "icebox_vlog.py", line 947, in <module> assert False AssertionError ``` Now you get; ``` Traceback (most recent call last): File "icebox_vlog.py", line 948, in <module> assert False, "\n ".join(emsg) AssertionError: Single-driver-check failed for 2 nets: n10 has 0 drivers: [] n15 has 2 drivers: ['clk', 'clk2'] ```
2018-07-03Update README to be clearerTim Ansell
The example doesn't work out of the box with the iCEblink40-lp1k board.
2018-07-03icebox_hlc2asc: Allow data of ram to use verilog literal formatElms
2018-07-03icebox_vlog: Better information about drivers for nets.Tim 'mithro' Ansell
2018-06-22icebox_hlc2asc: Allow io_X/GLOBAL_OUTPUT_BUFFERTim 'mithro' Ansell
2018-06-22icebox_hlc2asc: Fix spelling in error message.Tim 'mithro' Ansell
2018-06-20Merge pull request #162 from elmsfu/hcl2asc/error_messages_and_device_classClifford Wolf
icebox_hcl2asc: select device class
2018-06-20icebox_hlc2asc: update to support device by familyElms
2018-06-20icebox_hlc2asc: Adding more descriptive errors messagesElms
2018-06-16Merge pull request #161 from mithro/lut-bit-defaultsClifford Wolf
icebox_hlc2asc: Set LUT bits to zero by default.
2018-06-15icebox_hlc2asc: Set LUT bits to zero by default.Tim 'mithro' Ansell
2018-06-15Merge pull request #160 from mithro/hlc-sortClifford Wolf
icebox_hlcsort: Adding a tool for canonicalizing HLC files.
2018-06-15Merge pull request #155 from mithro/icetime-errorClifford Wolf
icetime: Output where the chipdb should be found.
2018-06-15Merge pull request #159 from mithro/fix-fixClifford Wolf
icebox: Fix issue introduced by f7e9fec63a3f88bee8c27e858da319ea03d68d14
2018-06-14icebox_hlcsort: Adding a tool for canonicalizing HLC files.Tim 'mithro' Ansell
This is done by sorting all the commands inside a block. Doing so makes it much easier to diff two files.
2018-06-14icetime: Output where the chipdb should be found.Tim 'mithro' Ansell
Makes it easier to know where it can't be.
2018-06-14icebox: Fix issue introduced by f7e9fec63a3f88bee8c27e858da319ea03d68d14Tim 'mithro' Ansell
Current code fails with the following; ``` Parse error in line 94: span4_y3_g15_6 -> local_g0_3 -> D_OUT_0 ```
2018-06-13Fix icetime for .asc files that do not contain all tilesClifford Wolf
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-13Merge pull request #149 from tomverbeure/seedClifford Wolf
icebram: add option to specify seed for repeatable outcomes.
2018-06-13Merge pull request #151 from mithro/hlc-lut-initClifford Wolf
icebox_hlc2asc: Allow truth tables to be specified as init string.
2018-06-13Merge pull request #158 from mithro/remove-bidir-hlcClifford Wolf
Remove bidir stuff in HLC
2018-06-13Merge pull request #156 from mithro/hlc-devicesClifford Wolf
icebox_hlc2asc: Accept device types such as HX1K
2018-06-13Merge pull request #154 from mithro/icetime-argsClifford Wolf
icetime: Lowercase the device type information.
2018-06-13Merge pull request #153 from mithro/lout-driverClifford Wolf
icebox: Fix driver detection for LUT cascade.
2018-06-13Merge pull request #152 from mithro/vlog-fixClifford Wolf
icebox: Fix LUT output code.
2018-06-12HLC: Use '~>' instead of '<->' for routing switches.Tim 'mithro' Ansell
As mentioned in ca6b2d9ebd521ecec58b9b5627c9380355adeab1, the 'routing' switches are not actually bidirectional. This makes the '<->' specifier very misleading. Instead use '~>' to differentiate it from the 'buffer' switches.
2018-06-12icebox_hlc2asc: Remove the bidirectional support.Tim 'mithro' Ansell
See ca6b2d9ebd521ecec58b9b5627c9380355adeab1.
2018-06-11icebox_hlc2asc: Accept device types such as HX1KJoel Holdsworth
2018-06-11icetime: Lowercase the device type information.Tim 'mithro' Ansell
Makes `-d HX1K` work as well as `-d hx1k`.
2018-06-11icebox_hlc2asc: Allow truth tables to be specified as init string.Joel Holdsworth
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 } ```