forked from stevehoover/warp-v
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a file for configuring a WARP-V model.
- Loading branch information
1 parent
6ae4148
commit e63afdd
Showing
3 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
\m4_TLV_version 1d: tl-x.org | ||
m4+definitions([' | ||
// This file can be used to build a coursely-configured implementation of WARP-V within makerchip.com. | ||
// This enables exploration of a generated model (as TL-Verilog (without M4 macros) and/or Verilog/SystemVerilog). | ||
// Simulation waveforms can be explored. | ||
// | ||
// High-level settings are described here. For detailed settings, consult the included warp-v.tlv file. | ||
// ----------------------------------------------------------- | ||
// CONFIGURATION: | ||
// ISA. Legal Values: [MINI, RISCV, MIPSI, POWER, DUMMY] | ||
m4_define(M4_ISA, RISCV) | ||
// Standard configuration. Legal Values: [1-stage, 4-stage, 6-stage, none (and define individual parameters)] | ||
m4_define(M4_STANDARD_CONFIG, 4-stage) | ||
// OPTIONAL CONFIGURATION: | ||
// Branch predictor. Legal Values: [fallthrough, two_bit] | ||
// m4_define(M4_BRANCH_PRED, fallthrough) | ||
// DETAILED CONFIGURATION: | ||
// (See included warp-v.tlv) | ||
// ----------------------------------------------------------- | ||
']) | ||
\SV | ||
// Include WARP-V. | ||
m4_include_lib(['https://github.com/stevehoover/warp-v/blob/master/warp-v.tlv']) | ||
|
||
m4+module_def | ||
\TLV | ||
m4+warpv() | ||
m4+warpv_makerchip_cnt10_tb() | ||
\SV | ||
endmodule |