|
From: Wesley J. L. <wj...@ic...> - 2013-01-24 01:27:53
|
On Wednesday, January 23, 2013 18:24:50 Wesley J. Landaker wrote:
> net clk, cs012, cs3, v33, gnd;
> inst(3:0) flip_flops of flip_flop_chip {
> attribute REFDES(:) = {"U13", "U12", "U11", "U10"};
> // common signals
> clk(:) = <clk>; vcc(:) = <v33>; gnd(:) = <gnd>;
> // common signal with an exception
> cs(:) = <cs012>; cs(3) = cs3;
BTW, the compiler in my mind threw an error on this line, telling me cs(3)
had been assigned twice. Then I fixed it to read:
cs(2:0) = <cs012>; cs(3) = cs3;
See how nicely that worked! =)
|