Skip to content

Commit

Permalink
Add blueprint for cahp-pearl
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed May 25, 2020
1 parent 5722d9f commit 4ed5c3b
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions share/cahp-pearl.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[[file]]
type = "iyokanl1-json"
path = "pearl-core.json"
name = "core"

[[builtin]]
type = "rom"
name = "rom"
in_addr_width = 7
out_rdata_width = 32

[[builtin]]
type = "ram"
name = "ram"
in_addr_width = 8
in_wdata_width = 16
out_rdata_width = 16

[connect]
"rom/addr[0:6]" = "core/io_rom_addr[0:6]"
"core/io_rom_data[0:31]" = "rom/rdata[0:31]"

"ram/wren" = "core/io_ram_writeEnable"
"ram/addr[0:7]" = "core/io_ram_addr[0:7]"
"ram/wdata[0:15]" = "core/io_ram_writeData[0:15]"
"core/io_ram_readData[0:15]" = "ram/rdata[0:15]"

"core/reset" = "@reset"
"@finflag" = "core/io_finishFlag"

"@reg_x0[0:15]" = "core/io_mainRegOut_x0[0:15]"
"@reg_x1[0:15]" = "core/io_mainRegOut_x1[0:15]"
"@reg_x2[0:15]" = "core/io_mainRegOut_x2[0:15]"
"@reg_x3[0:15]" = "core/io_mainRegOut_x3[0:15]"
"@reg_x4[0:15]" = "core/io_mainRegOut_x4[0:15]"
"@reg_x5[0:15]" = "core/io_mainRegOut_x5[0:15]"
"@reg_x6[0:15]" = "core/io_mainRegOut_x6[0:15]"
"@reg_x7[0:15]" = "core/io_mainRegOut_x7[0:15]"
"@reg_x8[0:15]" = "core/io_mainRegOut_x8[0:15]"
"@reg_x9[0:15]" = "core/io_mainRegOut_x9[0:15]"
"@reg_x10[0:15]" = "core/io_mainRegOut_x10[0:15]"
"@reg_x11[0:15]" = "core/io_mainRegOut_x11[0:15]"
"@reg_x12[0:15]" = "core/io_mainRegOut_x12[0:15]"
"@reg_x13[0:15]" = "core/io_mainRegOut_x13[0:15]"
"@reg_x14[0:15]" = "core/io_mainRegOut_x14[0:15]"
"@reg_x15[0:15]" = "core/io_mainRegOut_x15[0:15]"

0 comments on commit 4ed5c3b

Please sign in to comment.