Re: rhea AssertionError
Christopher Felton <[email protected]> Wed, 23 Dec 2015 09:18:24 -0600
| Newsgroups | gmane.comp.python.myhdl |
|---|---|
| Message-ID | <[email protected]> |
On 12/17/2015 9:12 PM, Edward Vidal wrote: > Hi Chris,Is blinky consided a top level? I have a XulA2-LX9, do I > just modify the line 39 in _xula.py device = 'XC6SLX9' --> > device = 'XC6SLX9'?Or should we define a new class? No, ideally you do not modify _xula.py file. The Xula2 itself does not have any LEDs, so the board definition only includes the generic channel (IO) ports. I added some documentation and an example that shows how to create a custom board definition: docs: http://rhearay.readthedocs.org/en/latest/build/board_definition.html example: https://github.com/cfelton/rhea/tree/master/examples/boards/xula/custom > I tested on > ubuntu 12.04 with Xilinx 14.6. All appears to work okay. Only one > led was tested. Should blinky where I start with the CAT-Board > also?Should the ice40_primitives.py be included as part of > rhea?Regards, I haven't looked at your ice40_primitives yet, yes a version of it can be included in rhea. I have been trying to create vendor neutral primitives, I will look over (at some point) you ice40_primitives and see if I can use it in that approach. Regards, Chris ------------------------------------------------------------------------------