On Sat, Oct 31, 2009 at 09:41:43PM -0400, Greg Beaton wrote: > Hi, > I used the method below in a previous design but I get the following error > message with GHDL: > > not static choice exclude others choice > > > SIGNAL address : STD_LOGIC_VECTOR(14 downto 0); > process > variable address_int : integer; > begin > > address_int := TO_INTEGER(unsigned(address)); > CASE address_int IS > WHEN 1024 to 1279 => > > > > > here is some of the actual code: > > case to_integer(unsigned(proc_a(USED_ADDR_SIZE-1 downto 0))) is > > when MDIO_ADDR_BASE to MDIO_ADDR_BASE + > MDIO_CTLR_TOTAL*LOCS_PER_MDIO_CTLR - 1 => > > exp_dout > <= mdio_dout(to_integer(unsigned(proc_a(mdio_addr_mask'range > )))); > > > > The thing that concerns me is that all the capitalized parameters are > constants so everything is static and there shouldn't be an error.
Hi, this might be a bug. Can you send me your design (or at least a reproducer) as I can't reproduce this issue. Thanks, Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
