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

Subversion Repositories tinycpu

[/] [tinycpu/] [trunk/] [testbench/] [carryover_tb.vhd] - Diff between revs 16 and 17

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

Rev 16 Rev 17
Line 91... Line 91...
    Addend <= x"04";
    Addend <= x"04";
    SegmentIn <= x"00";
    SegmentIn <= x"00";
    wait for 10 ns;
    wait for 10 ns;
    assert (SegmentOut=x"01" and DataOut = x"02") report "Addition Carryover Error" severity error;
    assert (SegmentOut=x"01" and DataOut = x"02") report "Addition Carryover Error" severity error;
 
 
 
    DataIn <= x"7F";
 
    Addend <= x"7F";
 
    SegmentIn <= x"00";
 
    wait for 10 ns;
 
    assert (SegmentOut=x"00" and DataOut = x"FE") report "Carryover when not appropriate case 1" severity error;
 
 
    -- summary of testbench
    -- summary of testbench
    assert false
    assert false
    report "Testbench of carryover completed successfully!"
    report "Testbench of carryover completed successfully!"
    severity note;
    severity note;

powered by: WebSVN 2.1.0

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