Skip to content

Commit

Permalink
2.2.1: minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldero committed Nov 6, 2022
1 parent 78d216f commit b41da03
Show file tree
Hide file tree
Showing 592 changed files with 4,529 additions and 2,539 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![codebeat badge](https://codebeat.co/badges/66773495-9967-4514-8c2c-916293f584b5)](https://codebeat.co/projects/github-com-acaldero-wepsim-master)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/579e744cedde4dc78f8084d9db7abd32)](https://app.codacy.com/gh/acaldero/wepsim/dashboard)
[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
[![Release](https://img.shields.io/badge/Stable-2.2.0-green.svg)](https://github.com/acaldero/wepsim/releases/tag/v2.2.0)
[![Release](https://img.shields.io/badge/Stable-2.2.1-green.svg)](https://github.com/acaldero/wepsim/releases/tag/v2.2.1)


## Table of contents
Expand Down Expand Up @@ -109,19 +109,19 @@ Step | iOS | Android | Action to perfo

### A) Run (and print the final state)

+ From the command line it is possible to 'run' the 'asm-mips_s1e1.txt' assembly for the 'ep' architecture with the 'mc-ep_mips_base.txt' microcode, and print the final state:
+ From the command line it is possible to 'run' the 's1e1.asm' assembly for the 'ep' architecture with the 'mc-ep_base.txt' microcode, and print the final state:

```bash
./wepsim.sh -a run -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly/asm-mips_s1e1.txt
./wepsim.sh -a run -m ep -f ./examples/microcode/mips/mc-ep_base.txt -s ./examples/assembly/mips/s1e1.asm
register R2 = 0x2; register R3 = 0x1; register R5 = 0x1; register R29 = 0xfffff; register PC = 0x8018; memory 0x8000 = 0x8400002; memory 0x8004 = 0x8600001; memory 0x8008 = 0xa21809; memory 0x800c = 0x8400002; memory 0x8010 = 0x8600001; memory 0x8014 = 0xa2180a;
```

### B) Run step by step

+ It is also possible to 'run' 'step by step' the 'asm-ep-s1_e1.txt' assembly for the 'ep' architecture with the 'mc-ep_mips_base.txt' microcode, and print for each assembly instruction the state elements that modify its value:
+ It is also possible to 'run' 'step by step' the 's1_e1.asm' assembly for the 'ep' architecture with the 'mc-ep_base.txt' microcode, and print for each assembly instruction the state elements that modify its value:

```bash
./wepsim.sh -a stepbystep -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly/asm-mips_s1e1.txt
./wepsim.sh -a stepbystep -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm
pc, instruction, changes_from_zero_or_current_value
pc = 0x8000, li $2 2, register R2 = 0x2; register R29 = 0xfffff; register PC = 0x8004
pc = 0x8004, li $3 1, register R3 = 0x1; register PC = 0x8008
Expand All @@ -133,10 +133,10 @@ pc = 0x8014, sub $5 $2 $3, register R5 = 0x1; register PC = 0x8018

### C) Run microstep by microstep

+ And to 'run' 'microstep by microstep' the 'asm-mips_s1e1.txt' assembly for the 'ep' architecture with the 'mc-ep_mips_base.txt' microcode, and print for each microinstruction the state elements that modify its value:
+ And to 'run' 'microstep by microstep' the 's1e1.asm' assembly for the 'ep' architecture with the 'ep_base.mc' microcode, and print for each microinstruction the state elements that modify its value:

```bash
./wepsim.sh -a microstepbymicrostep -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly/asm-mips_s1e1.txt
./wepsim.sh -a microstepbymicrostep -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm
micropc, microcode, changes_from_zero_or_current_value
micropc = 0x0, T2 C0,
micropc = 0x1, TA R BW=11 M1 C1,
Expand All @@ -157,19 +157,19 @@ micropc = 0x35, MC MR=0 SELA=1011 SELB=10000 MA=0 MB=0 SELCOP=1010 T6 SELC=1010

### D) Run & check end state (example when o.k.)

+ You can check if the state at the end of the execution is the same as the one stored on file 'cl-mips_s1e1.txt'. You can 'run' the 'asm-mips_s1e1.txt' assembly for the 'ep' architecture with the 'mc-ep_mips_base.txt' microcode (**and if it matches the expected state, then the output is going to be**):
+ You can check if the state at the end of the execution is the same as the one stored on file 'cl-s1e1.txt'. You can 'run' the 's1e1.asm' assembly for the 'ep' architecture with the 'ep_base.mc' microcode (**and if it matches the expected state, then the output is going to be**):

```bash
./wepsim.sh -a check -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly/asm-mips_s1e1.txt -r ./examples/checklist/cl-mips_s1e1.txt
./wepsim.sh -a check -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm -r ./examples/checklist/mips/cl-s1e1.txt
OK: Execution: no error reported
```

### E) Run & check end state (example when k.o.)

+ You can check if the state at the end of the execution is the same as the one stored on file 'cl-mips_s1e1.txt'. You can 'run' the 'asm-mips_s1e1.txt' assembly for the 'ep' architecture with the 'mc-ep_mips_base.txt' microcode (**and if it fails to match the expected state then the output is going to be**):
+ You can check if the state at the end of the execution is the same as the one stored on file 'cl-s1e1.txt'. You can 'run' the 's1e1.asm' assembly for the 'ep' architecture with the 'ep_base.mc' microcode (**and if it fails to match the expected state then the output is going to be**):

```bash
./wepsim.sh -a check -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly/asm-mips_s1e1.txt -r ./examples/checklist/cl-mips_s1e2.txt
./wepsim.sh -a check -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm -r ./examples/checklist/mips/cl-s1e2.txt
ERROR: Execution: different results: cpu[R1]='0' (expected '0xf'), cpu[R2]='0x2' (expected '0xf'), cpu[R3]='0' (expected '0x1'), cpu[R29]='0x100000' (expected '0xfffff'), cpu[PC]='0x8078' (expected '0x8018'), memory[0x1000]='0' (expected '0xa07ff0f'), memory[0x1004]='0' (expected '0x10061'), memory[0x1008]='0' (expected '0x7ffff'), memory[0x100c]='0' (expected '0x61000a'), memory[0x1010]='0' (expected '0xf'), memory[0x1014]='0' (expected '0xffffffff'), memory[0x1018]='0' (expected '0x7'), memory[0x101c]='0' (expected '0x12345678'), memory[0x1020]='0' (expected '0x61'), memory[0x1024]='0' (expected '0x6c6c6568'), memory[0x1028]='0' (expected '0x726f776f'), memory[0x102c]='0' (expected '0x646c'), memory[0x8000]='0x8400002' (expected '0x20201000'), memory[0x8004]='0x8600001' (expected '0x10601010'), memory[0x8008]='0xa21809' (expected '0x820000f'), memory[0x800c]='0x8400002' (expected '0x24201000'), memory[0x8010]='0x8600001' (expected '0x840000f'), memory[0x8014]='0xa2180a' (expected '0x14401010'),
```

Expand All @@ -178,7 +178,7 @@ ERROR: Execution: different results: cpu[R1]='0' (expected '0xf'), cpu[R2]='0x2'
+ And finally, it is possible to execute microstep by microstep but with a more verbose description:

```bash
./wepsim.sh -a microstepverbalized -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly/asm-mips_s1e1.txt
./wepsim.sh -a microstepverbalized -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm
Micropc at 0x0. Activated signals are: T2 C0. Associated actions are: Copy from Program Counter Register to Internal Bus value 0x8000. Load from Internal Bus to Memory Address Register value 0x8000.
Micropc at 0x1. Activated signals are: TA R BW M1 C1. Associated actions are: Copy from Memory Address Register to Address Bus value 0x8000. Memory output = 0x8400002 (Read a word from 0x8000). Select the full Word. Copy from from Memory to Input of Memory Data Register value 0x8400002. Load from Input of Memory Data Register to Memory Data Register value 0x8400002.
Micropc at 0x2. Activated signals are: M2 C2 T1 C3. Associated actions are: Copy to Input of Program Counter Program Counter Register plus four with result 0x8004. Load from Input of Program Counter to Program Counter Register value 0x8004. Copy from Memory Data Register to Internal Bus value 0x8400002. Load from Internal Bus to Instruction Register value 0x8400002. Decode instruction.
Expand Down Expand Up @@ -312,7 +312,7 @@ Micropc at 0x1. Activated signals are: TA R BW M1 C1. Associated actions are: Co
!unzip -o wepsim-2.2.0.zip >& /dev/null
!rm -fr wepsim-2.2.0.zip
!echo "(3/4) Executing WepSIM..."
!./wepsim-2.2.0/wepsim.sh -a stepbystep -m ep -f ./wepsim-2.2.0/examples/microcode/mc-ep_mips_base.txt -s ./wepsim-2.2.0/examples/assembly/asm-mips_s1e1.txt > ./result.csv
!./wepsim-2.2.0/wepsim.sh -a stepbystep -m ep -f ./wepsim-2.2.0/examples/microcode/mips/ep_base.mc -s ./wepsim-2.2.0/examples/assembly/mips/s1e1.asm > ./result.csv
!rm -fr wepsim-2.2.0
!echo "(4/4) Showing execution trace as table..."

Expand Down
43 changes: 23 additions & 20 deletions devel/mk_dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -299,30 +299,33 @@ cp -a external/speechkitt ws_dist/external/
cp -a external/cordova.js ws_dist/external/cordova.js

## pre-examples (default_packed)
DEFAULT_EXAMPLE_SET="examples/examples_set/apps_ep_mips.json examples/examples_set/apps_poc_mips.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/default_mips.json
DEFAULT_EXAMPLE_SET="examples/examples_set/apps_ep_mips_instructive.json examples/examples_set/apps_poc_mips_instructive.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/default_mips_instructive.json
DEFAULT_EXAMPLE_SET="examples/examples_set/apps_ep_rv32.json examples/examples_set/apps_poc_rv32.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/default_rv32.json
DEFAULT_EXAMPLE_SET="examples/examples_set/apps_ep_rv32_instructive.json examples/examples_set/apps_poc_rv32_instructive.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/default_rv32_instructive.json
DEFAULT_EXAMPLE_SET="examples/examples_set/apps_ep_native.json examples/examples_set/apps_poc_native.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/default_native.json
DEFAULT_EXAMPLE_SET="examples/examples_set/ag_ep_rv32_packed.json examples/examples_set/ag_poc_rv32_packed.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/ag_rv32_packed.json
DEFAULT_EXAMPLE_SET="examples/examples_set/mips/es_ep.json examples/examples_set/mips/es_poc.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/mips/default.json
DEFAULT_EXAMPLE_SET="examples/examples_set/mips/es_ep_instructive.json examples/examples_set/mips/es_poc_instructive.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/mips/default_instructive.json
DEFAULT_EXAMPLE_SET="examples/examples_set/rv32/es_ep.json examples/examples_set/rv32/es_poc.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/rv32/default.json
DEFAULT_EXAMPLE_SET="examples/examples_set/rv32/es_ep_instructive.json examples/examples_set/rv32/es_poc_instructive.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/rv32/default_instructive.json
DEFAULT_EXAMPLE_SET="examples/examples_set/arm/es_ep.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/arm/default.json
DEFAULT_EXAMPLE_SET="examples/examples_set/z80/es_ep.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/z80/default.json
DEFAULT_EXAMPLE_SET="examples/examples_set/rv32_ag/es_ep.json examples/examples_set/rv32_ag/es_poc.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/rv32_ag/default.json
DEFAULT_EXAMPLE_SET="examples/examples_set/mips_ocw/es_ep.json"
jq 'reduce inputs as $i (.; . += $i)' $DEFAULT_EXAMPLE_SET > examples/examples_set/mips_ocw/default.json

## pre-examples (default.json + apps.json)
echo '[]' | \
jq ' . + [ { "name": "Default-MIPS", "url": "examples/examples_set/default_mips.json", "description": "MIPS instruction set", "size": "18+", "url_base_asm": "examples/assembly_mips/", "url_base_mc": "examples/microcode/" } ]' | \
jq ' . + [ { "name": "Default-RISCV", "url": "examples/examples_set/default_rv32.json", "description": "RISC-V instruction set", "size": "18+", "url_base_asm": "examples/assembly_rv32/", "url_base_mc": "examples/microcode/" } ]' | \
jq ' . + [ { "name": "Instructive-MIPS", "url": "examples/examples_set/default_mips_instructive.json", "description": "MIPS instruction set", "size": "12+", "url_base_asm": "examples/assembly_mips/", "url_base_mc": "examples/microcode/" } ]' | \
jq ' . + [ { "name": "Instructive-RISCV", "url": "examples/examples_set/default_rv32_instructive.json", "description": "RISC-V instruction set", "size": "12+", "url_base_asm": "examples/assembly_rv32/", "url_base_mc": "examples/microcode/" } ]' | \
jq ' . + [ { "name": "Native", "url": "examples/examples_set/default_native.json", "description": "MIPS, RISC-V, ARM, Z80", "size": "3+", "url_base_asm": "examples/assembly_native/", "url_base_mc": "examples/microcode/" } ]' | \
jq ' . + [ { "name": "AulaGlobal course", "url": "examples/examples_set/ag_rv32_packed.json", "description": "RISC-V instruction set for <a href='https://github.com/acaldero/uc3m_ec'>aula global</a>", "size": "10+", "url_base_asm": "examples/assembly_ag/", "url_base_mc": "examples/microcode/" } ]' | \
jq ' . + [ { "name": "OCW course", "url": "examples/examples_set/ocw_ep_mips_packed.json", "description": "MIPS examples for <a href='https://ocw.uc3m.es/course/view.php?id=136'>opencourseware</a>", "size": "10+", "url_base_asm": "examples/assembly_ocw/", "url_base_mc": "examples/microcode/" } ]' > examples/examples_set/default.json
jq ' . + [ { "name": "Default-MIPS", "url": "examples/examples_set/mips/default.json", "description": "MIPS instruction set", "size": "18+", "url_base_asm": "examples/assembly/mips/", "url_base_mc": "examples/microcode/mips/" } ]' | \
jq ' . + [ { "name": "Default-RISCV", "url": "examples/examples_set/rv32/default.json", "description": "RISC-V instruction set", "size": "18+", "url_base_asm": "examples/assembly/rv32/", "url_base_mc": "examples/microcode/rv32/" } ]' | \
jq ' . + [ { "name": "Instructive-MIPS", "url": "examples/examples_set/mips/default_instructive.json", "description": "MIPS instruction set", "size": "12+", "url_base_asm": "examples/assembly/mips/", "url_base_mc": "examples/microcode/mips/" } ]' | \
jq ' . + [ { "name": "Instructive-RISCV", "url": "examples/examples_set/rv32/default_instructive.json", "description": "RISC-V instruction set", "size": "12+", "url_base_asm": "examples/assembly/rv32/", "url_base_mc": "examples/microcode/rv32/" } ]' | \
jq ' . + [ { "name": "AulaGlobal course", "url": "examples/examples_set/rv32_ag/default.json", "description": "RISC-V instruction set for <a href='https://github.com/acaldero/uc3m_ec'>aula global</a>", "size": "10+", "url_base_asm": "examples/assembly/rv32_ag/", "url_base_mc": "examples/microcode/rv32/" } ]' | \
jq ' . + [ { "name": "OCW course", "url": "examples/examples_set/mips_ocw/default.json", "description": "MIPS examples for <a href='https://ocw.uc3m.es/course/view.php?id=136'>opencourseware</a>", "size": "10+", "url_base_asm": "examples/assembly/mips_ocw/", "url_base_mc": "examples/microcode/mips/" } ]' > examples/examples_set/default.json

cp examples/examples_set/default.json examples/apps.json
## cp examples/examples_set/default.json examples/apps.json

# examples
echo " * ws_dist/examples/..."
Expand Down
Binary file modified devel/output/0.txt.gz
Binary file not shown.
Binary file modified devel/output/1.txt.gz
Binary file not shown.
Binary file modified devel/output/10.txt.gz
Binary file not shown.
Binary file modified devel/output/100.txt.gz
Binary file not shown.
Binary file modified devel/output/101.txt.gz
Binary file not shown.
Binary file modified devel/output/102.txt.gz
Binary file not shown.
Binary file modified devel/output/103.txt.gz
Binary file not shown.
Binary file modified devel/output/104.txt.gz
Binary file not shown.
Binary file modified devel/output/105.txt.gz
Binary file not shown.
Binary file modified devel/output/106.txt.gz
Binary file not shown.
Binary file modified devel/output/107.txt.gz
Binary file not shown.
Binary file modified devel/output/108.txt.gz
Binary file not shown.
Binary file modified devel/output/11.txt.gz
Binary file not shown.
Binary file modified devel/output/12.txt.gz
Binary file not shown.
Binary file modified devel/output/13.txt.gz
Binary file not shown.
Binary file modified devel/output/14.txt.gz
Binary file not shown.
Binary file modified devel/output/15.txt.gz
Binary file not shown.
Binary file modified devel/output/16.txt.gz
Binary file not shown.
Binary file modified devel/output/17.txt.gz
Binary file not shown.
Binary file modified devel/output/18.txt.gz
Binary file not shown.
Binary file modified devel/output/19.txt.gz
Binary file not shown.
Binary file modified devel/output/2.txt.gz
Binary file not shown.
Binary file modified devel/output/20.txt.gz
Binary file not shown.
Binary file modified devel/output/21.txt.gz
Binary file not shown.
Binary file modified devel/output/22.txt.gz
Binary file not shown.
Binary file modified devel/output/23.txt.gz
Binary file not shown.
Binary file modified devel/output/24.txt.gz
Binary file not shown.
Binary file modified devel/output/25.txt.gz
Binary file not shown.
Binary file modified devel/output/26.txt.gz
Binary file not shown.
Binary file modified devel/output/27.txt.gz
Binary file not shown.
Binary file modified devel/output/28.txt.gz
Binary file not shown.
Binary file modified devel/output/29.txt.gz
Binary file not shown.
Binary file modified devel/output/3.txt.gz
Binary file not shown.
Binary file modified devel/output/30.txt.gz
Binary file not shown.
Binary file modified devel/output/31.txt.gz
Binary file not shown.
Binary file modified devel/output/32.txt.gz
Binary file not shown.
Binary file modified devel/output/33.txt.gz
Binary file not shown.
Binary file modified devel/output/34.txt.gz
Binary file not shown.
Binary file modified devel/output/35.txt.gz
Binary file not shown.
Binary file modified devel/output/36.txt.gz
Binary file not shown.
Binary file modified devel/output/37.txt.gz
Binary file not shown.
Binary file modified devel/output/38.txt.gz
Binary file not shown.
Binary file modified devel/output/39.txt.gz
Binary file not shown.
Binary file modified devel/output/4.txt.gz
Binary file not shown.
Binary file modified devel/output/40.txt.gz
Binary file not shown.
Binary file modified devel/output/41.txt.gz
Binary file not shown.
Binary file modified devel/output/42.txt.gz
Binary file not shown.
Binary file modified devel/output/43.txt.gz
Binary file not shown.
Binary file modified devel/output/44.txt.gz
Binary file not shown.
Binary file modified devel/output/45.txt.gz
Binary file not shown.
Binary file modified devel/output/46.txt.gz
Binary file not shown.
Binary file modified devel/output/47.txt.gz
Binary file not shown.
Binary file modified devel/output/48.txt.gz
Binary file not shown.
Binary file modified devel/output/49.txt.gz
Binary file not shown.
Binary file modified devel/output/5.txt.gz
Binary file not shown.
Binary file modified devel/output/50.txt.gz
Binary file not shown.
Binary file modified devel/output/51.txt.gz
Binary file not shown.
Binary file modified devel/output/52.txt.gz
Binary file not shown.
Binary file modified devel/output/53.txt.gz
Binary file not shown.
Binary file modified devel/output/54.txt.gz
Binary file not shown.
Binary file modified devel/output/55.txt.gz
Binary file not shown.
Binary file modified devel/output/56.txt.gz
Binary file not shown.
Binary file modified devel/output/57.txt.gz
Binary file not shown.
Binary file modified devel/output/58.txt.gz
Binary file not shown.
Binary file modified devel/output/59.txt.gz
Binary file not shown.
Binary file modified devel/output/6.txt.gz
Binary file not shown.
Binary file modified devel/output/60.txt.gz
Binary file not shown.
Binary file modified devel/output/61.txt.gz
Binary file not shown.
Binary file modified devel/output/62.txt.gz
Binary file not shown.
Binary file modified devel/output/63.txt.gz
Binary file not shown.
Binary file modified devel/output/64.txt.gz
Binary file not shown.
Binary file modified devel/output/65.txt.gz
Binary file not shown.
Binary file modified devel/output/66.txt.gz
Binary file not shown.
Binary file modified devel/output/67.txt.gz
Binary file not shown.
Binary file modified devel/output/68.txt.gz
Binary file not shown.
Binary file modified devel/output/69.txt.gz
Binary file not shown.
Binary file modified devel/output/7.txt.gz
Binary file not shown.
Binary file modified devel/output/70.txt.gz
Binary file not shown.
Binary file modified devel/output/71.txt.gz
Binary file not shown.
Binary file modified devel/output/72.txt.gz
Binary file not shown.
Binary file modified devel/output/73.txt.gz
Binary file not shown.
Binary file modified devel/output/74.txt.gz
Binary file not shown.
Binary file modified devel/output/75.txt.gz
Binary file not shown.
Binary file modified devel/output/76.txt.gz
Binary file not shown.
Binary file modified devel/output/77.txt.gz
Binary file not shown.
Binary file modified devel/output/78.txt.gz
Binary file not shown.
Binary file modified devel/output/79.txt.gz
Binary file not shown.
Binary file modified devel/output/8.txt.gz
Binary file not shown.
Binary file modified devel/output/80.txt.gz
Binary file not shown.
Binary file modified devel/output/81.txt.gz
Binary file not shown.
Binary file modified devel/output/82.txt.gz
Binary file not shown.
Binary file modified devel/output/83.txt.gz
Binary file not shown.
Binary file modified devel/output/84.txt.gz
Binary file not shown.
Binary file modified devel/output/85.txt.gz
Binary file not shown.
Binary file modified devel/output/86.txt.gz
Binary file not shown.
Binary file modified devel/output/87.txt.gz
Binary file not shown.
Binary file modified devel/output/88.txt.gz
Binary file not shown.
Binary file modified devel/output/89.txt.gz
Binary file not shown.
Binary file modified devel/output/9.txt.gz
Binary file not shown.
Binary file modified devel/output/90.txt.gz
Binary file not shown.
Binary file modified devel/output/91.txt.gz
Binary file not shown.
Binary file modified devel/output/92.txt.gz
Binary file not shown.
Binary file modified devel/output/93.txt.gz
Binary file not shown.
Binary file modified devel/output/94.txt.gz
Binary file not shown.
Binary file modified devel/output/95.txt.gz
Binary file not shown.
Binary file modified devel/output/96.txt.gz
Binary file not shown.
Binary file modified devel/output/97.txt.gz
Binary file not shown.
Binary file modified devel/output/98.txt.gz
Binary file not shown.
Binary file modified devel/output/99.txt.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions devel/test_jshint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set -x


echo "checking sim_core..."
jshint ./sim_core/sim_core_ui.js
#jshint ./sim_core/sim_core_ui.js
jshint ./sim_core/sim_core_voice.js
jshint ./sim_core/sim_api_stateshots.js
jshint ./sim_core/sim_api_native.js
Expand Down Expand Up @@ -134,7 +134,7 @@ echo "checking wepsim_web..."
jshint ./wepsim_web/wepsim_uiscreen_classic.js
jshint ./wepsim_web/wepsim_uiscreen_compact.js
jshint ./wepsim_web/wepsim_uiscreen_main.js
jshint ./wepsim_web/wepsim_web_api.js
#jshint ./wepsim_web/wepsim_web_api.js
jshint ./wepsim_web/wepsim_web_editor.js
#jshint ./wepsim_web/wepsim_web_pwa.js
jshint ./wepsim_web/wepsim_web_simulator.js
Expand Down
14 changes: 7 additions & 7 deletions devel/test_wepsim_pack1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,43 @@
{
"pack": "microcode + assembly",
"description": "run",
"test": "./ws_dist/wepsim.sh -a run -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly_mips/asm-mips_s1e1.txt",
"test": "./ws_dist/wepsim.sh -a run -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm",
"more": "See WepSIM"
},
{
"pack": "microcode + assembly",
"description": "stepbystep",
"test": "./ws_dist/wepsim.sh -a stepbystep -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly_mips/asm-mips_s1e1.txt",
"test": "./ws_dist/wepsim.sh -a stepbystep -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm",
"more": "See WepSIM"
},
{
"pack": "microcode + assembly",
"description": "microstepbymicrostep",
"test": "./ws_dist/wepsim.sh -a microstepbymicrostep -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly_mips/asm-mips_s1e1.txt",
"test": "./ws_dist/wepsim.sh -a microstepbymicrostep -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm",
"more": "See WepSIM"
},
{
"pack": "microcode + assembly",
"description": "check ok",
"test": "./ws_dist/wepsim.sh -a check -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly_mips/asm-mips_s1e1.txt -r ./examples/checklist/cl-mips_s1e1.txt",
"test": "./ws_dist/wepsim.sh -a check -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm -r ./examples/checklist/mips/cl-s1e1.txt",
"more": "See WepSIM"
},
{
"pack": "microcode + assembly",
"description": "check ko",
"test": "./ws_dist/wepsim.sh -a check -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly_mips/asm-mips_s1e1.txt -r ./examples/checklist/cl-mips_s1e2.txt",
"test": "./ws_dist/wepsim.sh -a check -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm -r ./examples/checklist/mips/cl-s1e2.txt",
"more": "See WepSIM"
},
{
"pack": "microcode + assembly",
"description": "microstepverbalized",
"test": "./ws_dist/wepsim.sh -a microstepverbalized -m ep -f ./examples/microcode/mc-ep_mips_base.txt -s ./examples/assembly_mips/asm-mips_s1e1.txt",
"test": "./ws_dist/wepsim.sh -a microstepverbalized -m ep -f ./examples/microcode/mips/ep_base.mc -s ./examples/assembly/mips/s1e1.asm",
"more": "See WepSIM"
},
{
"pack": "microcode + assembly",
"description": "show-console",
"test": "./ws_dist/wepsim.sh -a show-console -m ep -f ./examples/microcode/mc-ep_mips_os.txt -s ./examples/assembly_mips/asm-mips_s4e1.txt",
"test": "./ws_dist/wepsim.sh -a show-console -m ep -f ./examples/microcode/mips/ep_os.mc -s ./examples/assembly/mips/s4e1.asm",
"more": "See WepSIM"
}
]
2 changes: 1 addition & 1 deletion devel/test_wepsim_pack2.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
"pack": "checkpoint",
"description": "check ok",
"test": "./ws_dist/wepsim.sh -a check --checkpoint ./examples/checkpoint/tutorial_1.txt -r ./examples/checklist/cl-mips_s1e1.txt",
"test": "./ws_dist/wepsim.sh -a check --checkpoint ./examples/checkpoint/tutorial_1.txt -r ./examples/checklist/mips/cl-s1e1.txt",
"more": "See WepSIM"
},
{
Expand Down
Loading

0 comments on commit b41da03

Please sign in to comment.