[HW][Kelvin][Sram_1rwm_256x288.v] move FPGA defined macro

1. Move 2 registers defintion and assign statement inside "ifdef FPGA" branch.
2. It will fix the both VCS and ASIC synthesis reported lint errors.

Change-Id: I4f3005810e89e25c11b9f3ddcd2bddf556a81486
1 file changed
tree: 56fbb735a728926d27acac923cc3e4c623cbbae0
  1. external/
  2. hdl/
  3. lib/
  4. rules/
  5. tests/
  6. .bazelrc
  7. .gitignore
  8. PREUPLOAD.cfg
  9. README.md
  10. WORKSPACE
README.md

Kelvin

Kelvin is a RISC-V32IM core with a custom instruction set.

Building

Kelvin uses bazel as it's build system. The Verilated simulator for Kelvin can be generated using:

bazel build //tests/verilator_sim:core_sim

The verilog source for the Kelvin core can be generated using:

bazel build //hdl/chisel:core_cc_library_emit_verilog

Verilog source for the Matcha SoC can be generated using:

bazel build //hdl/chisel:kelvin_cc_library_emit_verilog