set up project
This commit is contained in:
parent
eebf2d6093
commit
88e83908de
58
info.yaml
58
info.yaml
|
@ -1,17 +1,17 @@
|
||||||
# Tiny Tapeout project information
|
# Tiny Tapeout project information
|
||||||
project:
|
project:
|
||||||
title: "" # Project title
|
title: "tiny sha256" # Project title
|
||||||
author: "" # Your name
|
author: "xenia dragon" # Your name
|
||||||
discord: "" # Your discord username, for communication and automatically assigning you a Tapeout role (optional)
|
discord: "" # Your discord username, for communication and automatically assigning you a Tapeout role (optional)
|
||||||
description: "" # One line description of what your project does
|
description: "a minimal single-cycle-round sha256 core intended to fit in one tile" # One line description of what your project does
|
||||||
language: "Verilog" # other examples include SystemVerilog, Amaranth, VHDL, etc
|
language: "Verilog" # other examples include SystemVerilog, Amaranth, VHDL, etc
|
||||||
clock_hz: 0 # Clock frequency in Hz (or 0 if not applicable)
|
clock_hz: 50000000 # Clock frequency in Hz (or 0 if not applicable)
|
||||||
|
|
||||||
# How many tiles your design occupies? A single tile is about 167x108 uM.
|
# How many tiles your design occupies? A single tile is about 167x108 uM.
|
||||||
tiles: "1x1" # Valid values: 1x1, 1x2, 2x2, 3x2, 4x2, 6x2 or 8x2
|
tiles: "1x1" # Valid values: 1x1, 1x2, 2x2, 3x2, 4x2, 6x2 or 8x2
|
||||||
|
|
||||||
# Your top module name must start with "tt_um_". Make it unique by including your github username:
|
# Your top module name must start with "tt_um_". Make it unique by including your github username:
|
||||||
top_module: "tt_um_example"
|
top_module: "tt_um_xeniarose_sha256"
|
||||||
|
|
||||||
# List your project's source files here. Source files must be in ./src and you must list each source file separately, one per line:
|
# List your project's source files here. Source files must be in ./src and you must list each source file separately, one per line:
|
||||||
source_files:
|
source_files:
|
||||||
|
@ -20,34 +20,34 @@ project:
|
||||||
# The pinout of your project. Leave unused pins blank. DO NOT delete or add any pins.
|
# The pinout of your project. Leave unused pins blank. DO NOT delete or add any pins.
|
||||||
pinout:
|
pinout:
|
||||||
# Inputs
|
# Inputs
|
||||||
ui[0]: ""
|
ui[0]: "addressed register bit 0"
|
||||||
ui[1]: ""
|
ui[1]: "addressed register bit 1"
|
||||||
ui[2]: ""
|
ui[2]: "addressed register bit 2"
|
||||||
ui[3]: ""
|
ui[3]: "addressed register bit 3"
|
||||||
ui[4]: ""
|
ui[4]: "addressed register bit 4"
|
||||||
ui[5]: ""
|
ui[5]: "addressed register bit 5"
|
||||||
ui[6]: ""
|
ui[6]: "IO read/write select"
|
||||||
ui[7]: ""
|
ui[7]: "IO clock"
|
||||||
|
|
||||||
# Outputs
|
# Outputs
|
||||||
uo[0]: ""
|
uo[0]: "ready"
|
||||||
uo[1]: ""
|
uo[1]: "IO read/write selected"
|
||||||
uo[2]: ""
|
uo[2]: "todo0"
|
||||||
uo[3]: ""
|
uo[3]: "todo1"
|
||||||
uo[4]: ""
|
uo[4]: "todo2"
|
||||||
uo[5]: ""
|
uo[5]: "todo3"
|
||||||
uo[6]: ""
|
uo[6]: "todo4"
|
||||||
uo[7]: ""
|
uo[7]: "todo5"
|
||||||
|
|
||||||
# Bidirectional pins
|
# Bidirectional pins
|
||||||
uio[0]: ""
|
uio[0]: "data bit 0"
|
||||||
uio[1]: ""
|
uio[1]: "data bit 1"
|
||||||
uio[2]: ""
|
uio[2]: "data bit 2"
|
||||||
uio[3]: ""
|
uio[3]: "data bit 3"
|
||||||
uio[4]: ""
|
uio[4]: "data bit 4"
|
||||||
uio[5]: ""
|
uio[5]: "data bit 5"
|
||||||
uio[6]: ""
|
uio[6]: "data bit 6"
|
||||||
uio[7]: ""
|
uio[7]: "data bit 7"
|
||||||
|
|
||||||
# Do not change!
|
# Do not change!
|
||||||
yaml_version: 6
|
yaml_version: 6
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Your Name
|
* Copyright (c) 2024 xenia dragon
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
`default_nettype none
|
`default_nettype none
|
||||||
|
|
||||||
module tt_um_example (
|
module tt_um_xeniarose_sha256 (
|
||||||
input wire [7:0] ui_in, // Dedicated inputs
|
input wire [7:0] ui_in, // Dedicated inputs
|
||||||
output wire [7:0] uo_out, // Dedicated outputs
|
output wire [7:0] uo_out, // Dedicated outputs
|
||||||
input wire [7:0] uio_in, // IOs: Input path
|
input wire [7:0] uio_in, // IOs: Input path
|
||||||
|
|
|
@ -24,7 +24,7 @@ module tb ();
|
||||||
wire [7:0] uio_oe;
|
wire [7:0] uio_oe;
|
||||||
|
|
||||||
// Replace tt_um_example with your module name:
|
// Replace tt_um_example with your module name:
|
||||||
tt_um_example user_project (
|
tt_um_xeniarose_sha256 user_project (
|
||||||
|
|
||||||
// Include power ports for the Gate Level test:
|
// Include power ports for the Gate Level test:
|
||||||
`ifdef GL_TEST
|
`ifdef GL_TEST
|
||||||
|
|
Loading…
Reference in New Issue