Integrating WepSIM

In the WepSIM URL you can use several arguments to perform certain actions automatically. This is an example:

http://wepsim.github.io/wepsim/ws_dist/?mode=ep&examples_set=RISCV&example=0&simulator=assembly:14&notify=false

In particular, WepSIM supports the following arguments:

Name Included values Used for...
mode ep Elemental Processor with circuit and assembly (default)
poc Proof-of-Concept Processor with circuit and assembly
asm_mips Elemental Processor (default) with MIPS assembly only
asm_rv32 Elemental Processor (default) with RISC-V assembly only
config_set Desktop Interface for desktop computer (default)
Mobile Interface for smartphone or tablet
Desktop-Dark Interface for desktop computer and dark mode
Mobile-Dark Interface for smartphone or tablet in dark mode
examples_set RISCV Examples for RISCV instruction set
RISCV-Instructive Examples for RISCV instruction set with active comments
MIPS Examples for MIPS instruction set
MIPS-Instructive Examples for MIPS instruction set with active comments
ARM Examples for ARM-like instruction set
Z80 Examples for Z80-like instruction set
example 0, 1, ... The indentifier of the example within the example set
simulator <main panel>:<details panel> <main panel> can be:
  • microcode → to show the circuit panel.
  • assembly → to show the assembly panel.
<details panel> can be:
  • registers → register file.
  • control_memory → control memory.
  • memory → memory.
  • keyboard → keyboard and screen.
  • ledmatrix → led-matrix.
  • 3dled → 3d-led panel.
checkpoint <URL> URL pointing to the checkpoint to be loaded
notify true Show a dialog-box with the preloaded actions (default)
false Don't show a dialog-box with the preloaded actions

But there is one more argument that can be added: asm asm contains the assembly code to be loaded from the URL.

This assembly code can be obtained from the share option in the "Load/Save" dialog-box: screen:example1

This argument can be combined with the example argument so the assembly code in the URL is loaded instead of the assembly code in the example.

For example, the following link loads the RISC-V assembly code for the factorial and with the keyboard and screen detail panel:

https://wepsim.github.io/wepsim/ws_dist/?mode=ep&examples_set=RISCV&example=14&simulator=assembly:keyboard&asm=FAYlAIHUFMAcGUCSBZcAKAFgFy7AzgFwD0RA7nHgJYC2AdAOaVYYCuARrZQPZkU1EBKUMGC0A1gBMAhlinBwCgG7QAxli4AnAgtqlNE8AFoAjPIXmLOvRoMmzly7v3gNWAPp4AnnhHis0AA8sYC88N1hXDywtcAAbSnMA4wVTBzT4xIAGBUz7NPM2aABHBQCAJgA2cADs6AA7CVT8tgBWbVi2RLKAdnBMtHKKoXzLQpLqnurahqaRhS4WLFLJzKTM9byRqQkDCarB6tm5sdLsqYVWzYV6xu08DWhgkO9wyMo6rHaE0uSjkZBwLAWHgMG42J5-GgAOQAHUyUOGcwUeE6pz6aDwsERSLw7GRsHAmMOVzSbHo0GW+2ybAAzCSHBkfgooYYofTLAsloccmsNkiFIzuUY-vlqCxYpS9sSRrTtACgSCwRDoGgHtQBgAaYyZAQAagALAAObFzAEBcAAXnAEkoik12pNI0FSXA2vZFjVy16ByS7vMNsUkp9IvS325Rr9Cm2u3K3smvv5cTDLpDDhRXV6-UxjvyuNRRKJCf5bDqFKlNXAtPZADMaXLARp3u48NF3vQMVjI+Bo-jCQSi0iOhn0dmuycJt7stWyl3OV6+rzconxxXzrWa2U7g8nuZIqFtAoAcZaIZCd4VFJYrEuz2pVJsjUu87Jvqx8Uo3HeqFXs3ok-k5MqajO+3afmeYQRO4TZdvcjy+P4QTANWUhqJolCXgQfoAngUjKC4UgaoS2RSA04BcKWcRcBeEqKFIjZSGwsQUuR4DMBSLYoWI4DVhoUjUNAfrRgkBYEiYM44qQu5SOAhodjmlh4JJyLZPqcmCTswnZESr5YeAlDVug97gAAPOAZQCC4jwsBodSun6GQBC0Zl+mSZZGVg1JuNAsR4AJg5hkZyQuSBFYVmwXnVj4SIAvphnZAAfFa5mWVg1m2UZABU3Eoeo9GxGg94mNi4Xeb5dxKd22SGKpeA6upNqVY1dhIgAVpeTLIaheX2RVWDJNVGJ1UiYoSo17mmLpDwtpoFJsYSsgqFxPF8X5FwRYQAoVbxMlqYOFW1eANWdkiQl9mdxgzpNVk2X6LUaPhIh5NQUjvNoulGVanW5eh+UtPJFiMkZLS3e1LpfWhl4iNFDZNm4TZoH1-3mIDvRAdc1HXrpgRMPZCRSKjS5zKol6Y0AA

For example, the following link loads the RISC-V assembly code for the factorial and shows the Elemental Processor and the register detail panel:

https://wepsim.github.io/wepsim/ws_dist/?mode=ep&examples_set=RISCV&example=14&simulator=microcode:registers&asm=FAYlAIHUFMAcGUCSBZcAKAFgFy7AzgFwD0RA7nHgJYC2AdAOaVYYCuARrZQPZkU1EBKUMGC0A1gBMAhlinBwCgG7QAxli4AnAgtqlNE8AFoAjPIXmLOvRoMmzly7v3gNWAPp4AnnhHis0AA8sYC88N1hXDywtcAAbSnMA4wVTBzT4xIAGBUz7NPM2aABHBQCAJgA2cADs6AA7CVT8tgBWbVi2RLKAdnBMtHKKoXzLQpLqnurahqaRhS4WLFLJzKTM9byRqQkDCarB6tm5sdLsqYVWzYV6xu08DWhgkO9wyMo6rHaE0uSjkZBwLAWHgMG42J5-GgAOQAHUyUOGcwUeE6pz6aDwsERSLw7GRsHAmMOVzSbHo0GW+2ybAAzCSHBkfgooYYofTLAsloccmsNkiFIzuUY-vlqCxYpS9sSRrTtACgSCwRDoGgHtQBgAaYyZAQAagALAAObFzAEBcAAXnAEkoik12pNI0FSXA2vZFjVy16ByS7vMNsUkp9IvS325Rr9Cm2u3K3smvv5cTDLpDDhRXV6-UxjvyuNRRKJCf5bDqFKlNXAtPZADMaXLARp3u48NF3vQMVjI+Bo-jCQSi0iOhn0dmuycJt7stWyl3OV6+rzconxxXzrWa2U7g8nuZIqFtAoAcZaIZCd4VFJYrEuz2pVJsjUu87Jvqx8Uo3HeqFXs3ok-k5MqajO+3afmeYQRO4TZdvcjy+P4QTANWUhqJolCXgQfoAngUjKC4UgaoS2RSA04BcKWcRcBeEqKFIjZSGwsQUuR4DMBSLYoWI4DVhoUjUNAfrRgkBYEiYM44qQu5SOAhodjmlh4JJyLZPqcmCTswnZESr5YeAlDVug97gAAPOAZQCC4jwsBodSun6GQBC0Zl+mSZZGVg1JuNAsR4AJg5hkZyQuSBFYVmwXnVj4SIAvphnZAAfFa5mWVg1m2UZABU3Eoeo9GxGg94mNi4Xeb5dxKd22SGKpeA6upNqVY1dhIgAVpeTLIaheX2RVWDJNVGJ1UiYoSo17mmLpDwtpoFJsYSsgqFxPF8X5FwRYQAoVbxMlqYOFW1eANWdkiQl9mdxgzpNVk2X6LUaPhIh5NQUjvNoulGVanW5eh+UtPJFiMkZLS3e1LpfWhl4iNFDZNm4TZoH1-3mIDvRAdc1HXrpgRMPZCRSKjS5zKol6Y0AA

results matching ""

    No results matching ""