|
From: <pet...@co...> - 2011-10-06 04:33:31
|
Guys,
Maybe you already have this but it occurred to me that perhaps we should put in an option direction field in the pin statement of the device declaration.
I see two reasons for having this. First, we could use the direction of the pin to do some design rule checking. Second we could use the direction to generate VHDL or Verilog code for simulation.
Probably the DRC thing has real practicality. The second reason is of questionable utility but people often ask about it so maybe it is worth having just for completeness.
I'm thinking we could incorporate keywords in, out and bi into the language. The pin statement could look like this.
pin[3:0] bi byte_enable = {1, 2, 4, 7};
|