vahidkh6222
Full Member level 2

hi all..
it is realy confusing!:!:
in part of my very large design,i wrote this, and it was working well:
then i wrote this, and it was working well:
then i added this and i still can not see the desired output....
the output is remain on '0' value forever.(althoug i see inputs are in their desired state...)
help me plz!!
( i tried many other ways, but i thought that at least in this very very simple method there should not be any problem...but i'm gonna die!!)
i am using xilinx ise6.2 with modelsim se plus 6.0
it is realy confusing!:!:
in part of my very large design,i wrote this, and it was working well:
Code:
latch <='1' when ((COMMAND(0) AND DATA_TRANSFER) and addr(2) and(not(addr(4) or addr(3))))='1' else '0';
then i wrote this, and it was working well:
Code:
bar<= '1' when ((COMMAND(0) AND DATA_TRANSFER) and addr(4) and (not(addr(3) or addr(2))))='1' else '0';
then i added this and i still can not see the desired output....
Code:
kuft<= bar or latch;
the output is remain on '0' value forever.(althoug i see inputs are in their desired state...)
help me plz!!
( i tried many other ways, but i thought that at least in this very very simple method there should not be any problem...but i'm gonna die!!)
i am using xilinx ise6.2 with modelsim se plus 6.0