whitequark changed the topic of #amaranth-lang to: Amaranth hardware definition language · code https://github.com/amaranth-lang · logs https://libera.irclog.whitequark.org/amaranth-lang
jess has quit []
lf has quit [Ping timeout: 250 seconds]
lf has joined #amaranth-lang
<_whitenotifier> [YoWASP/nextpnr] whitequark pushed 1 commit to develop [+0/-0/±2] https://github.com/YoWASP/nextpnr/compare/a1cdb59b6305...1b4127376b7a
<_whitenotifier> [YoWASP/nextpnr] whitequark 1b41273 - Update dependencies.
<_whitenotifier> [YoWASP/yosys] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/yosys/compare/4ca8af25f93b...7250329daa27
<_whitenotifier> [YoWASP/yosys] whitequark 7250329 - Update dependencies.
cr1901_ is now known as cr1901
bl0x has quit [Ping timeout: 240 seconds]
bl0x has joined #amaranth-lang
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 240 seconds]
Degi_ is now known as Degi
cr1901_ has joined #amaranth-lang
cr1901 has quit [Ping timeout: 240 seconds]
cr1901_ is now known as cr1901
jesopo has joined #amaranth-lang
jesopo is now known as jess
MikeK has joined #amaranth-lang
<MikeK> Hello Hello
<MikeK> I am rally having a hard time with amaranth-boards.   Any help would be great!
<MikeK> When I try to run from the command line.  python de1_soc.py
<MikeK> I get this...
<MikeK> Traceback (most recent call last):
<MikeK>   File "de1_soc.py", line 7, in <module>
<MikeK>     from .resources import *
<MikeK> ImportError: attempted relative import with no known parent package
<MikeK> I think I have to run it like this...
<MikeK> python3 -m de1_soc.py
<MikeK> But get the same result...  :(
<MikeK> Traceback (most recent call last):
<MikeK>   File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main
<MikeK>     mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
<MikeK>   File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details
<MikeK>     __import__(pkg_name)
<MikeK>   File "/home/mikek/Documents/Cyclone5_SOC/DECA_Board/amaranth/amaranth-boards/amaranth_boards/de1_soc.py", line 7, in <module>
<MikeK>     from .resources import *
<MikeK> ImportError: attempted relative import with no known parent package
<MikeK> ANY help would be great!!   Thanks!
<vup> `python3 -m 'amaranth_boards.de0_cv'` in the parent dir works
<MikeK> ok.. will try
<MikeK> ok... looks good now i need my quartus!  :)
<MikeK> THNAKS!!!
<MikeK> THANKS!!!
<vup> your welcome
MikeK has quit [Quit: Client closed]
MikeK has joined #amaranth-lang
MikeK has quit [Ping timeout: 256 seconds]
MikeK has joined #amaranth-lang
<MikeK> I am going through the example material on the webpage...
<MikeK> Shapes from enumerations
<MikeK> This Code does not seem to work for me...
<MikeK> class Direction(enum.Enum):
<MikeK>     TOP    = 0
<MikeK>     LEFT   = 1
<MikeK>     BOTTOM = 2
<MikeK>     RIGHT  = 3
<MikeK> I get this error....
<MikeK> Traceback (most recent call last):
<MikeK>   File "<stdin>", line 1, in <module>
<MikeK> NameError: name 'enum' is not defined
<MikeK> Not sure if this a problem...  Thanks!
<vup> well you need `import enum` for that
<MikeK> Ah.... ok great!  thanks...  (Yes I am new to python  :) )
<MikeK> yup worked..
FL4SHK has quit [Ping timeout: 240 seconds]
cr1901_ has joined #amaranth-lang
cr1901 has quit [Ping timeout: 250 seconds]
cr1901__ has joined #amaranth-lang
cr1901__ is now known as cr1901
cr1901_ has quit [Ping timeout: 240 seconds]
Raito_Bezarius has quit [Ping timeout: 240 seconds]
Raito_Bezarius has joined #amaranth-lang
Raito_Bezarius has quit [Max SendQ exceeded]
Raito_Bezarius has joined #amaranth-lang
Raito_Bezarius has quit [Max SendQ exceeded]
Raito_Bezarius has joined #amaranth-lang
cr1901_ has joined #amaranth-lang
cr1901 has quit [Ping timeout: 240 seconds]