OpenCores
URL https://opencores.org/ocsvn/tinycpu/tinycpu/trunk

Subversion Repositories tinycpu

[/] [tinycpu/] [trunk/] [testbench/] [alu_tb.vhd] - Diff between revs 14 and 31

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 14 Rev 31
Line 234... Line 234...
    DataIn1 <= x"00";
    DataIn1 <= x"00";
    DataIn2 <= x"02";
    DataIn2 <= x"02";
    wait for 10 ns;
    wait for 10 ns;
    assert (DataOut=x"FE") report "subtract underflow operation error" severity error;
    assert (DataOut=x"FE") report "subtract underflow operation error" severity error;
 
 
    Op <= "10000"; --set TR
 
    wait for 10 ns;
 
    Op <= "10011"; --decrement
 
    DataIn1 <= x"12";
 
    wait for 10 ns;
 
    assert (TR='1') report "TR persistence error" severity error;
 
 
 
 
 
 
 
    -- summary of testbench
    -- summary of testbench
    assert false
    assert false

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.