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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [or1ksim.tests/] [inst-set-test.exp] - Diff between revs 122 and 123

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

Rev 122 Rev 123
Line 907... Line 907...
          "  - exception triggered: FALSE"               \
          "  - exception triggered: FALSE"               \
          "!Test completed"                              \
          "!Test completed"                              \
          "!report(0xdeaddead);"                         \
          "!report(0xdeaddead);"                         \
          "!exit(0)"]                                    \
          "!exit(0)"]                                    \
    "inst-set-test.cfg" "inst-set-test/is-ror-test"
    "inst-set-test.cfg" "inst-set-test/is-ror-test"
 
 
 
# Run the l.mfspr and l.mtspr test
 
run_or1ksim "spr-test"                         \
 
    [list "!l.mfspr"                           \
 
          "  l.mfspr  0x00000000 | 0x2801: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mfspr  0x00002801 | 0x0000: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mfspr  0x00002801 | 0x2801: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mfspr  0x00000801 | 0x2000: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mfspr  0x00002000 | 0x0801: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mfspr  0x00002801 | 0x0001: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mfspr  0x00000800 | 0x2801: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "!l.mtspr"                           \
 
          "  l.mtspr  0x00000000 | 0x2801: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mtspr  0x00002801 | 0x0000: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mtspr  0x00002801 | 0x2801: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mtspr  0x00000801 | 0x2000: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mtspr  0x00002000 | 0x0801: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mtspr  0x00002801 | 0x0001: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "  l.mtspr  0x00000800 | 0x2801: OK" \
 
          "  - exception triggered: FALSE"     \
 
          "!Test completed"                    \
 
          "!report(0xdeaddead);"               \
 
          "!exit(0)"]                          \
 
    "inst-set-test.cfg" "inst-set-test/is-spr-test"

powered by: WebSVN 2.1.0

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