B
Brad Smallridge
Guest
Why can't I do this:
type bond_range is range 15 downto 8;
begin
mem_do(bond_range)<:mem_di_8(bond_range); -- wrong slice type;
or this:
constant bond_hi:integer:=15;
constant bond_lo:integer:=8;
begin
mem_do(bond_hi downto bond_lo)<:mem_di_8(bond_hi downto bond_lo);
-- not the name of a procedure
instead of this:
begin
mem_do(15 downto 8)<:mem_di_8(15 downto 8);
I would use a record for mem_do but mem_do
slices change depending on when I write to it.
Brad Smallridge
AiVision
type bond_range is range 15 downto 8;
begin
mem_do(bond_range)<:mem_di_8(bond_range); -- wrong slice type;
or this:
constant bond_hi:integer:=15;
constant bond_lo:integer:=8;
begin
mem_do(bond_hi downto bond_lo)<:mem_di_8(bond_hi downto bond_lo);
-- not the name of a procedure
instead of this:
begin
mem_do(15 downto 8)<:mem_di_8(15 downto 8);
I would use a record for mem_do but mem_do
slices change depending on when I write to it.
Brad Smallridge
AiVision