Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INIT for behavioural simulation
- mkdir -p ../sim/beh
- CC math_pkg.vhd
- ghdl -a --ieee=synopsys -fexplicit --workdir=../sim/beh --warn-no-vital-generic --work=work math_pkg.vhd
- CC gen_pkg.vhd
- ghdl -a --ieee=synopsys -fexplicit --workdir=../sim/beh --warn-no-vital-generic --work=work gen_pkg.vhd
- CC uart_tx.vhd
- ghdl -a --ieee=synopsys -fexplicit --workdir=../sim/beh --warn-no-vital-generic --work=work uart_tx.vhd
- CC uart_rx.vhd
- ghdl -a --ieee=synopsys -fexplicit --workdir=../sim/beh --warn-no-vital-generic --work=work uart_rx.vhd
- CC alu.vhd
- ghdl -a --ieee=synopsys -fexplicit --workdir=../sim/beh --warn-no-vital-generic --work=work alu.vhd
- CC parser.vhd
- ghdl -a --ieee=synopsys -fexplicit --workdir=../sim/beh --warn-no-vital-generic --work=work parser.vhd
- CC beh_parser_tb.vhd
- ghdl -a --ieee=synopsys -fexplicit --workdir=../sim/beh --warn-no-vital-generic --work=work beh_parser_tb.vhd
- ghdl -m --ieee=synopsys -fexplicit --workdir=../sim/beh --warn-no-vital-generic --work=work beh_parser_tb
- elaborate beh_parser_tb
- ./beh_parser_tb --vcdgz=../sim/beh/beh_parser_tmp.vcdgz
- beh_parser_tb.vhd:121:24:@120ns:(report note): testcase(1).input: 58243
- beh_parser_tb.vhd:122:24:@120ns:(report note): testcase(1).expectedresult: 58243
- beh_parser_tb.vhd:158:24:@23070ns:(report note): realresult : 58243
- beh_parser_tb.vhd:162:24:@23070ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@23070ns:(report note): testcase(2).input: 12345
- beh_parser_tb.vhd:122:24:@23070ns:(report note): testcase(2).expectedresult: 12345
- beh_parser_tb.vhd:158:24:@46020ns:(report note): realresult : 12345
- beh_parser_tb.vhd:162:24:@46020ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@46020ns:(report note): testcase(3).input: 12+5
- beh_parser_tb.vhd:122:24:@46020ns:(report note): testcase(3).expectedresult: 17
- beh_parser_tb.vhd:158:24:@62970ns:(report note): realresult : 17
- beh_parser_tb.vhd:162:24:@62970ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@62970ns:(report note): testcase(4).input: 1337+124
- beh_parser_tb.vhd:122:24:@62970ns:(report note): testcase(4).expectedresult: 1461
- beh_parser_tb.vhd:158:24:@85260ns:(report note): realresult : 1461
- beh_parser_tb.vhd:162:24:@85260ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@85260ns:(report note): testcase(5).input: 1+1+1
- beh_parser_tb.vhd:122:24:@85260ns:(report note): testcase(5).expectedresult: 3
- beh_parser_tb.vhd:158:24:@100830ns:(report note): realresult : 3
- beh_parser_tb.vhd:162:24:@100830ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@100830ns:(report note): testcase(6).input: 98+123+531511+131
- beh_parser_tb.vhd:122:24:@100830ns:(report note): testcase(6).expectedresult: 531863
- beh_parser_tb.vhd:158:24:@130680ns:(report note): realresult : 531863
- beh_parser_tb.vhd:162:24:@130680ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@130680ns:(report note): testcase(7).input: 513-1-200
- beh_parser_tb.vhd:122:24:@130680ns:(report note): testcase(7).expectedresult: 312
- beh_parser_tb.vhd:158:24:@151590ns:(report note): realresult : 312
- beh_parser_tb.vhd:162:24:@151590ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@151590ns:(report note): testcase(8).input: 5*10*200
- beh_parser_tb.vhd:122:24:@151590ns:(report note): testcase(8).expectedresult: 10000
- beh_parser_tb.vhd:158:24:@176310ns:(report note): realresult : 10000
- beh_parser_tb.vhd:162:24:@176310ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@176310ns:(report note): testcase(9).input: 100-30-50
- beh_parser_tb.vhd:122:24:@176310ns:(report note): testcase(9).expectedresult: 20
- beh_parser_tb.vhd:158:24:@195270ns:(report note): realresult : 20
- beh_parser_tb.vhd:162:24:@195270ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@195270ns:(report note): testcase(10).input: 10*20+2000*10
- beh_parser_tb.vhd:122:24:@195270ns:(report note): testcase(10).expectedresult: 20200
- beh_parser_tb.vhd:158:24:@222270ns:(report note): realresult : 20200
- beh_parser_tb.vhd:162:24:@222270ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@222270ns:(report note): testcase(11).input: 1000/10
- beh_parser_tb.vhd:122:24:@222270ns:(report note): testcase(11).expectedresult: 100
- beh_parser_tb.vhd:158:24:@244290ns:(report note): realresult : 100
- beh_parser_tb.vhd:162:24:@244290ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@244290ns:(report note): testcase(12).input: 1000/10/2-20
- beh_parser_tb.vhd:122:24:@244290ns:(report note): testcase(12).expectedresult: 30
- beh_parser_tb.vhd:158:24:@268470ns:(report note): realresult : 30
- beh_parser_tb.vhd:162:24:@268470ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@268470ns:(report note): testcase(13).input: 10+2/2
- beh_parser_tb.vhd:122:24:@268470ns:(report note): testcase(13).expectedresult: 11
- beh_parser_tb.vhd:158:24:@288510ns:(report note): realresult : 11
- beh_parser_tb.vhd:162:24:@288510ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@288510ns:(report note): testcase(14).input: 10-4/2
- beh_parser_tb.vhd:122:24:@288510ns:(report note): testcase(14).expectedresult: 8
- beh_parser_tb.vhd:158:24:@306600ns:(report note): realresult : 8
- beh_parser_tb.vhd:162:24:@306600ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@306600ns:(report note): testcase(15).input: 1000-4*100+5-300/2
- beh_parser_tb.vhd:122:24:@306600ns:(report note): testcase(15).expectedresult: 455
- beh_parser_tb.vhd:158:24:@333810ns:(report note): realresult : 455
- beh_parser_tb.vhd:162:24:@333810ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@333810ns:(report note): testcase(16).input: 10+ 2
- beh_parser_tb.vhd:122:24:@333810ns:(report note): testcase(16).expectedresult: 12
- beh_parser_tb.vhd:158:24:@351660ns:(report note): realresult : 12
- beh_parser_tb.vhd:162:24:@351660ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@351660ns:(report note): testcase(17).input: 9 +3
- beh_parser_tb.vhd:122:24:@351660ns:(report note): testcase(17).expectedresult: 12
- beh_parser_tb.vhd:158:24:@368640ns:(report note): realresult : 12
- beh_parser_tb.vhd:162:24:@368640ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@368640ns:(report note): testcase(18).input: 50 / 2 + 1 -3
- beh_parser_tb.vhd:122:24:@368640ns:(report note): testcase(18).expectedresult: 23
- beh_parser_tb.vhd:158:24:@395130ns:(report note): realresult : 23
- beh_parser_tb.vhd:162:24:@395130ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@395130ns:(report note): testcase(19).input: 50+1
- beh_parser_tb.vhd:122:24:@395130ns:(report note): testcase(19).expectedresult: 51
- beh_parser_tb.vhd:158:24:@413190ns:(report note): realresult : 51
- beh_parser_tb.vhd:162:24:@413190ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@413190ns:(report note): testcase(20).input: 40-100
- beh_parser_tb.vhd:122:24:@413190ns:(report note): testcase(20).expectedresult: -60
- beh_parser_tb.vhd:158:24:@418950ns:(report note): realresult : -60
- beh_parser_tb.vhd:162:24:@418950ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@418950ns:(report note): testcase(21).input: -40*2
- beh_parser_tb.vhd:122:24:@418950ns:(report note): testcase(21).expectedresult: -80
- beh_parser_tb.vhd:158:24:@424380ns:(report note): realresult : -80
- beh_parser_tb.vhd:162:24:@424380ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@424380ns:(report note): testcase(22).input: 4/-2
- beh_parser_tb.vhd:122:24:@424380ns:(report note): testcase(22).expectedresult: -2
- beh_parser_tb.vhd:158:24:@429210ns:(report note): realresult : -2
- beh_parser_tb.vhd:162:24:@429210ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@429210ns:(report note): testcase(23).input: -2 * -1 --1
- beh_parser_tb.vhd:122:24:@429210ns:(report note): testcase(23).expectedresult: 3
- beh_parser_tb.vhd:158:24:@446010ns:(report note): realresult : 3
- beh_parser_tb.vhd:162:24:@446010ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@446010ns:(report note): testcase(24).input: -2 * -2 --2 * -1 * -1 - 100
- beh_parser_tb.vhd:122:24:@446010ns:(report note): testcase(24).expectedresult: -94
- beh_parser_tb.vhd:158:24:@458040ns:(report note): realresult : -94
- beh_parser_tb.vhd:162:24:@458040ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@458040ns:(report note): testcase(25).input: -1234 / -500
- beh_parser_tb.vhd:122:24:@458040ns:(report note): testcase(25).expectedresult: 2
- beh_parser_tb.vhd:158:24:@477750ns:(report note): realresult : 2
- beh_parser_tb.vhd:162:24:@477750ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@477750ns:(report note): testcase(26).input: 3 3
- beh_parser_tb.vhd:122:24:@477750ns:(report note): testcase(26).expectedresult: Fehler: Syntax
- beh_parser_tb.vhd:158:24:@491340ns:(report note): realresult : Fehler: Syntax
- beh_parser_tb.vhd:162:24:@491340ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@491340ns:(report note): testcase(27).input: ++
- beh_parser_tb.vhd:122:24:@491340ns:(report note): testcase(27).expectedresult: Fehler: Syntax
- beh_parser_tb.vhd:158:24:@504690ns:(report note): realresult : Fehler: Syntax
- beh_parser_tb.vhd:162:24:@504690ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@504690ns:(report note): testcase(28).input: **
- beh_parser_tb.vhd:122:24:@504690ns:(report note): testcase(28).expectedresult: Fehler: Syntax
- beh_parser_tb.vhd:158:24:@517680ns:(report note): realresult : Fehler: Syntax
- beh_parser_tb.vhd:162:24:@517680ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@517680ns:(report note): testcase(29).input: *+/-
- beh_parser_tb.vhd:122:24:@517680ns:(report note): testcase(29).expectedresult: Fehler: Syntax
- beh_parser_tb.vhd:158:24:@530670ns:(report note): realresult : Fehler: Syntax
- beh_parser_tb.vhd:162:24:@530670ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@530670ns:(report note): testcase(30).input: * /
- beh_parser_tb.vhd:122:24:@530670ns:(report note): testcase(30).expectedresult: Fehler: Syntax
- beh_parser_tb.vhd:158:24:@544200ns:(report note): realresult : Fehler: Syntax
- beh_parser_tb.vhd:162:24:@544200ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@544200ns:(report note): testcase(31).input: 2 + ----
- beh_parser_tb.vhd:122:24:@544200ns:(report note): testcase(31).expectedresult: Fehler: Syntax
- beh_parser_tb.vhd:158:24:@560970ns:(report note): realresult : Fehler: Syntax
- beh_parser_tb.vhd:162:24:@560970ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@560970ns:(report note): testcase(32).input: 2 --1
- beh_parser_tb.vhd:122:24:@560970ns:(report note): testcase(32).expectedresult: 3
- beh_parser_tb.vhd:158:24:@575940ns:(report note): realresult : 3
- beh_parser_tb.vhd:162:24:@575940ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@575940ns:(report note): testcase(33).input: 21448368 * 123141
- beh_parser_tb.vhd:122:24:@575940ns:(report note): testcase(33).expectedresult: Fehler: Over- bzw. Underflow
- beh_parser_tb.vhd:158:24:@595170ns:(report note): realresult : Fehler: Over- bzw. Underflow
- beh_parser_tb.vhd:162:24:@595170ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@595170ns:(report note): testcase(34).input: 21448368 * -123141
- beh_parser_tb.vhd:122:24:@595170ns:(report note): testcase(34).expectedresult: Fehler: Over- bzw. Underflow
- beh_parser_tb.vhd:158:24:@614520ns:(report note): realresult : Fehler: Over- bzw. Underflow
- beh_parser_tb.vhd:162:24:@614520ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@614520ns:(report note): testcase(35).input: 341212 / 0
- beh_parser_tb.vhd:122:24:@614520ns:(report note): testcase(35).expectedresult: Fehler: Division durch Null
- beh_parser_tb.vhd:158:24:@634110ns:(report note): realresult : Fehler: Division durch Null
- beh_parser_tb.vhd:162:24:@634110ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@634110ns:(report note): testcase(36).input: 341212 / -0*2
- beh_parser_tb.vhd:122:24:@634110ns:(report note): testcase(36).expectedresult: Fehler: Division durch Null
- beh_parser_tb.vhd:158:24:@653820ns:(report note): realresult : Fehler: Division durch Null
- beh_parser_tb.vhd:162:24:@653820ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@653820ns:(report note): testcase(37).input: 0--2147483648
- beh_parser_tb.vhd:122:24:@653820ns:(report note): testcase(37).expectedresult: Fehler: Over- bzw. Underflow
- beh_parser_tb.vhd:158:24:@671580ns:(report note): realresult : Fehler: Over- bzw. Underflow
- beh_parser_tb.vhd:162:24:@671580ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@671580ns:(report note): testcase(38).input: 5--2147483648
- beh_parser_tb.vhd:122:24:@671580ns:(report note): testcase(38).expectedresult: Fehler: Over- bzw. Underflow
- beh_parser_tb.vhd:158:24:@689340ns:(report note): realresult : Fehler: Over- bzw. Underflow
- beh_parser_tb.vhd:162:24:@689340ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@689340ns:(report note): testcase(39).input: -2147483647-1
- beh_parser_tb.vhd:122:24:@689340ns:(report note): testcase(39).expectedresult: -2147483648
- beh_parser_tb.vhd:158:24:@712650ns:(report note): realresult : -2147483648
- beh_parser_tb.vhd:162:24:@712650ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@712650ns:(report note): testcase(40).input: -1073741824+-1073741824
- beh_parser_tb.vhd:122:24:@712650ns:(report note): testcase(40).expectedresult: -2147483648
- beh_parser_tb.vhd:158:24:@739320ns:(report note): realresult : -2147483648
- beh_parser_tb.vhd:162:24:@739320ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@739320ns:(report note): testcase(41).input:
- beh_parser_tb.vhd:122:24:@739320ns:(report note): testcase(41).expectedresult: Fehler: Syntax
- beh_parser_tb.vhd:158:24:@752310ns:(report note): realresult : Fehler: Syntax
- beh_parser_tb.vhd:162:24:@752310ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@752310ns:(report note): testcase(42).input:
- beh_parser_tb.vhd:122:24:@752310ns:(report note): testcase(42).expectedresult: Fehler: Syntax
- beh_parser_tb.vhd:158:24:@765480ns:(report note): realresult : Fehler: Syntax
- beh_parser_tb.vhd:162:24:@765480ns:(report note): ==================
- beh_parser_tb.vhd:121:24:@765480ns:(report note): testcase(43).input:
- beh_parser_tb.vhd:122:24:@765480ns:(report note): testcase(43).expectedresult: Fehler: Syntax
- beh_parser_tb.vhd:158:24:@779190ns:(report note): realresult : Fehler: Syntax
- beh_parser_tb.vhd:162:24:@779190ns:(report note): ==================
- beh_parser_tb.vhd:166:24:@779190ns:(report note): alle testfaelle des Parser waren erfolgreich!
- gunzip --stdout ../sim/beh/beh_parser_tmp.vcdgz | gtkwave --vcd
- GTKWave Analyzer v3.3.6 (w)1999-2010 BSI
- [0] start time.
- [779220000000] end time.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement