You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried some of these extra args but I do not think any of them allow for this funcionality? raw_width looks like what I want but I could not get it to work. The idea would be maybe to pass a tuple (2:0) and so have a [2:0] bitwidth? Hmm, wait, but what would happen with the 1 value then? Anyway you get my point, maybe this is already implemented somehow and I am missing it
Thanks!
The text was updated successfully, but these errors were encountered:
I am using a python list comprehension to create on the fly the inputs ports for my module.
inputs = [m.Input (str(name), bw) for name,bw in ports_dict]
Where
ports_dict
is a dict of this shape:{'one_port_name_of_bw_3' : 3, 'other_port_of_bw_1' : 1, ... }
I would expect the
m.Input
class to have these written out asInstead I am having
Input
class inherits from_Variable
, which is defined asTried some of these extra args but I do not think any of them allow for this funcionality?
raw_width
looks like what I want but I could not get it to work. The idea would be maybe to pass a tuple (2:0) and so have a[2:0]
bitwidth? Hmm, wait, but what would happen with the 1 value then? Anyway you get my point, maybe this is already implemented somehow and I am missing itThanks!
The text was updated successfully, but these errors were encountered: