gEDA-dev: Re: Icarus verilog question
Andrew Lentvorski
bsder at allcaps.org
Fri Jan 19 21:07:28 EST 2007
Stephen Williams wrote:
> Andrew Lentvorski wrote:
>> But, rf[0] *is* a vector. I can understand not dumping it by default,
>> but if I explicitly list it, I really want it.
>
> That's beyond the scope of the standard, but it is a reasonable
> request and probably not very hard to implement. Do file it as an
> enhancement request.
Enhancement request filed.
>> In addition, why won't rf[0] show up when I put it in a $monitor statement?
>
> That would be a bug. File a bug report.
Bug report 1639968 filed.
>> Finally, how do I grab a slice of rf[0] aka rf[0][15:12] ? Do I have to
>> wire *that* out and then slice the wire? I'm probably going to have to
>> build a parameterized register file module if I want
>> rf[someWire[2:0]][15:12]? This is nuts.
>
> That should work. You can take bit/part selects of array words.
Fails. Bug report 1639971 filed.
-a
More information about the geda-dev
mailing list