8000 GitHub - LongJohnCoder/hardware: Verilog development and verification project for HOL4
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Verilog development and verification project for HOL4

License

Notifications You must be signed in to change notification settings

LongJohnCoder/hardware

 
 

Repository files navigation

Verilog development and verification project for HOL4

Installation and setup

The development requires HOL4.

Ag32-specific setup

To build Ag32-related theories, such as the processor itself and cakeml_connection, you need to point $CAKEMLDIR to your CakeML compiler directory.

Because the Verilog semantics has been updated since Ag32 was developed, the Ag32 stuff will not build using the latest commit. If you want to build Ag32, use e.g. dc281059bd3a19e478fb211aadda1c2ac7891fa9.

ISA generation

Translating the Silver ISA from L3 to HOL is not necessary as the already-translated ISA stored in the CakeML compiler project is used.

However, after updating the L3 ISA the following steps are required to update the HOL ISA.

First, make sure you have L3 installed.

With L3 installed, the following command in the L3 REPL (named l3, located in the bin directory in your L3 directory) will produce the HOL ISA from the L3 ISA:

HolExport.spec ("ag32.spec", "ag32");

About

Verilog development and verification project for HOL4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Standard ML 95.5%
  • SystemVerilog 2.0%
  • Other 2.5%
0