Initial commit
This commit is contained in:
commit
fedfd92270
726 files changed
+542654
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
+60
@@ -0,0 +1,60 @@
|
||||
module MemGen_32_11 #(
|
||||
parameter data_width = 32,
|
||||
parameter addr_width = 11,
|
||||
parameter mem_depth = 2048
|
||||
)(
|
||||
input chip_en,
|
||||
input clock,
|
||||
input [addr_width-1:0]addr,
|
||||
output reg [data_width-1:0]rd_data,
|
||||
input rd_en,
|
||||
|
||||
input wr_en,
|
||||
input [data_width-1:0]wr_data
|
||||
);
|
||||
// Bank selection: 1 bit selects one of 2 banks
|
||||
reg [1:0] mem_sel ;
|
||||
wire [31:0] mem_data_out [1:0];
|
||||
|
||||
// Address decoder and output multiplexer
|
||||
always @(*)
|
||||
begin
|
||||
if ( chip_en == 1'b1 )
|
||||
case (addr[10])
|
||||
1'b0 : begin mem_sel = 2'b01; rd_data = mem_data_out[0]; end
|
||||
1'b1 : begin mem_sel = 2'b10; rd_data = mem_data_out[1]; end
|
||||
endcase
|
||||
else
|
||||
begin
|
||||
mem_sel = 2'b00;
|
||||
rd_data = 32'h00000000;
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
genvar i;
|
||||
// Instantiate 2 banks, each with 2 halves (low + high 16 bits)
|
||||
generate
|
||||
for (i = 0; i < 2; i = i + 1) begin
|
||||
MemGen_16_10 U_lo (
|
||||
.chip_en(mem_sel[i]),
|
||||
.clock(clock),
|
||||
.addr(addr[9:0]),
|
||||
.rd_en(rd_en),
|
||||
.rd_data(mem_data_out[i][15:0]),
|
||||
.wr_en(wr_en),
|
||||
.wr_data(wr_data[15:0])
|
||||
);
|
||||
MemGen_16_10 U_hi (
|
||||
.chip_en(mem_sel[i]),
|
||||
.clock(clock),
|
||||
.addr(addr[9:0]),
|
||||
.rd_en(rd_en),
|
||||
.rd_data(mem_data_out[i][31:16]),
|
||||
.wr_en(wr_en),
|
||||
.wr_data(wr_data[31:16])
|
||||
);
|
||||
end
|
||||
endgenerate
|
||||
|
||||
endmodule
|
||||
@@ -0,0 +1,52 @@
|
||||
// *********************************************************************************************
|
||||
// Project Version : v1.0
|
||||
// Project : [BCDC] Microtec Academy Course: Building a RISC-V CPU with SystemVerilog
|
||||
// -----
|
||||
// Copyright (c) : 2025 Fraunhofer IIS, Department IDS
|
||||
// Created : 12.Jun.2025 by Lund University [commit 5b1e415]
|
||||
// Last Modified : 23.Oct.2025 by Bomin Kim [commit 2f8f03d]
|
||||
// -----
|
||||
// HISTORY : Date By Comments
|
||||
// ----------- --------- -------------------------------------------------
|
||||
// 15.Oct.2025 Bomin Kim Refactored ALU logic from decoder into this file
|
||||
// *********************************************************************************************
|
||||
|
||||
|
||||
|
||||
module alu (
|
||||
input logic[2:0] aluOp,
|
||||
input logic aluNegAr,
|
||||
input logic aluBypass,
|
||||
input logic[31:0] op1,
|
||||
input logic[31:0] op2,
|
||||
output logic[31:0] result,
|
||||
output logic eqFlag
|
||||
);
|
||||
|
||||
// Local parameters; list of aluOp
|
||||
localparam logic[2:0] f3add = 3'b000;
|
||||
localparam logic[2:0] f3sl = 3'b001;
|
||||
localparam logic[2:0] f3slt = 3'b010;
|
||||
localparam logic[2:0] f3sltU = 3'b011;
|
||||
localparam logic[2:0] f3xor = 3'b100;
|
||||
localparam logic[2:0] f3sr = 3'b101;
|
||||
localparam logic[2:0] f3or = 3'b110;
|
||||
localparam logic[2:0] f3and = 3'b111;
|
||||
|
||||
// ALU logic
|
||||
always_comb begin : ALU
|
||||
eqFlag = op1 == op2;
|
||||
if (aluBypass) result = op1;
|
||||
else case(aluOp)
|
||||
f3add: result = aluNegAr ? op1 - op2 : op1 + op2;
|
||||
f3sl: result = op1 << op2[4:0];
|
||||
f3slt: result = {31'b0, $signed(op1) < $signed(op2)};
|
||||
f3sltU: result = {31'b0, $unsigned(op1) < $unsigned(op2)};
|
||||
f3xor: result = op1 ^ op2;
|
||||
f3sr: result = aluNegAr ? $signed(op1) >>> op2[4:0] : $signed(op1) >> op2[4:0];
|
||||
f3or: result = op1 | op2;
|
||||
f3and: result = op1 & op2;
|
||||
endcase
|
||||
end
|
||||
|
||||
endmodule
|
||||
@@ -0,0 +1,135 @@
|
||||
// *********************************************************************************************
|
||||
// Project Version : v1.0
|
||||
// Project : [BCDC] Microtec Academy Course: Building a RISC-V CPU with SystemVerilog
|
||||
// -----
|
||||
// Copyright (c) : 2025 Fraunhofer IIS, Department IDS
|
||||
// Created : 12.Jun.2025 by Lund University [commit 5b1e415]
|
||||
// Last Modified : 23.Oct.2025 by Hussein Elzomor [commit 2f8f03d]
|
||||
// -----
|
||||
// HISTORY : Date By Comments
|
||||
// ----------- --------- -------------------------------------------------
|
||||
// 15.Oct.2025 H.Elzomor Renamed file and module from soc to cpu
|
||||
// 15.Oct.2025 H.Elzomor Added an initial condition for clk_12p5
|
||||
// *********************************************************************************************
|
||||
|
||||
|
||||
|
||||
module cpu (
|
||||
output logic[7:0] led,
|
||||
input logic[6:0] btn,
|
||||
input logic clk_25mhz
|
||||
//input logic scan_en
|
||||
);
|
||||
|
||||
// Local Signals
|
||||
// Clock & Reset
|
||||
logic clk;
|
||||
// logic clk12p5;
|
||||
logic reset;
|
||||
// PC
|
||||
logic[31:0] CurrentPC;
|
||||
logic[31:0] JumpOrBranchPC;
|
||||
logic JumpOrBranch;
|
||||
logic[31:0] NextPC;
|
||||
// Memory
|
||||
logic[31:0] DAddr;
|
||||
logic[31:0] WData;
|
||||
logic[31:0] RData;
|
||||
logic[31:0] Instruction;
|
||||
logic WrMem;
|
||||
logic[1:0] DWidth;
|
||||
// Register File;
|
||||
logic[4:0] Rs1;
|
||||
logic[4:0] Rs2;
|
||||
logic[4:0] Rd;
|
||||
logic[31:0] RRs1;
|
||||
logic[31:0] RRs2;
|
||||
logic[31:0] WRd;
|
||||
logic WrReg;
|
||||
// Protection
|
||||
logic Illegal;
|
||||
|
||||
// Logic
|
||||
assign clk = clk_25mhz;
|
||||
// Clock (12.5MHz)
|
||||
//assign clk = scan_en ? clk_25mhz : clk12p5;
|
||||
//assign clk = clk12p5;
|
||||
|
||||
// always_ff @(posedge clk_25mhz) begin
|
||||
// if (reset)
|
||||
// clk12p5 <= 1'b0;
|
||||
// else if (!scan_en)
|
||||
// clk12p5 <= ~clk12p5;
|
||||
// end
|
||||
// Reset
|
||||
assign reset = ~btn[0];
|
||||
|
||||
// LED
|
||||
assign led[0] = Illegal;
|
||||
assign led[1] = WrMem;
|
||||
assign led[7:2] = NextPC[7:2];
|
||||
|
||||
// Module Instantiation
|
||||
// Decoder
|
||||
decoder theDecoder (
|
||||
// PC
|
||||
.CurrentPC(CurrentPC),
|
||||
.JumpOrBranchPC(JumpOrBranchPC),
|
||||
.JumpOrBranch(JumpOrBranch),
|
||||
// Memory
|
||||
.DAddr(DAddr),
|
||||
.WData(WData),
|
||||
.RData(RData),
|
||||
.Instruction(Instruction),
|
||||
.WrMem(WrMem),
|
||||
.DWidth(DWidth),
|
||||
// Register File
|
||||
.Rs1(Rs1),
|
||||
.Rs2(Rs2),
|
||||
.Rd(Rd),
|
||||
.RRs1(RRs1),
|
||||
.RRs2(RRs2),
|
||||
.WRd(WRd),
|
||||
.WrReg(WrReg),
|
||||
// Protection
|
||||
.Illegal(Illegal)
|
||||
);
|
||||
|
||||
// Register File
|
||||
reg_file theRegisters (
|
||||
.Rs1(Rs1),
|
||||
.Rs2(Rs2),
|
||||
.Rd(Rd),
|
||||
.RRs1(RRs1),
|
||||
.RRs2(RRs2),
|
||||
.WRd(WRd),
|
||||
.WrReg(WrReg),
|
||||
.reset(reset),
|
||||
.clk(clk)
|
||||
);
|
||||
|
||||
// PC
|
||||
pc thePC (
|
||||
.CurrentPC(CurrentPC),
|
||||
.JumpOrBranchPC(JumpOrBranchPC),
|
||||
.JumpOrBranch(JumpOrBranch),
|
||||
.NextPC(NextPC),
|
||||
.reset(reset),
|
||||
.clk(clk)
|
||||
);
|
||||
|
||||
// Main Memory
|
||||
main_mem #(
|
||||
) theMem (
|
||||
.DAddr(DAddr),
|
||||
.IAddr(NextPC),
|
||||
.DWData(WData),
|
||||
.DRData(RData),
|
||||
.IRData(Instruction),
|
||||
.DWE(WrMem),
|
||||
.DWidth(DWidth),
|
||||
.reset(reset),
|
||||
.clk(clk)
|
||||
);
|
||||
|
||||
endmodule
|
||||
@@ -0,0 +1,231 @@
|
||||
// *********************************************************************************************
|
||||
// Project Version : v1.0
|
||||
// Project : [BCDC] Microtec Academy Course: Building a RISC-V CPU with SystemVerilog
|
||||
// -----
|
||||
// Copyright (c) : 2025 Fraunhofer IIS, Department IDS
|
||||
// Created : 12.Jun.2025 by Lund University [commit 5b1e415]
|
||||
// Last Modified : 23.Oct.2025 by Hussein Elzomor [commit 2f8f03d]
|
||||
// -----
|
||||
// HISTORY : Date By Comments
|
||||
// ----------- --------- -------------------------------------------------
|
||||
// 15.Oct.2025 H.Elzomor Moved PC and ALU logic to their respective files
|
||||
// 15.Oct.2025 H.Elzomor Absorbed the branching logic into the decoder logic
|
||||
// *********************************************************************************************
|
||||
|
||||
|
||||
|
||||
module decoder (
|
||||
// PC
|
||||
input logic[31:0] CurrentPC,
|
||||
output logic[31:0] JumpOrBranchPC,
|
||||
output logic JumpOrBranch,
|
||||
// Memory
|
||||
output logic[31:0] DAddr,
|
||||
output logic[31:0] WData,
|
||||
input logic[31:0] RData,
|
||||
input logic[31:0] Instruction,
|
||||
output logic WrMem,
|
||||
output logic[1:0] DWidth,
|
||||
// Register File
|
||||
output logic[4:0] Rs1,
|
||||
output logic[4:0] Rs2,
|
||||
output logic[4:0] Rd,
|
||||
input logic[31:0] RRs1,
|
||||
input logic[31:0] RRs2,
|
||||
output logic[31:0] WRd,
|
||||
output logic WrReg,
|
||||
// Protection
|
||||
output logic Illegal
|
||||
);
|
||||
|
||||
// Local Parameters
|
||||
// OpCode: set a local parameter for each operation
|
||||
localparam logic[6:0] opLd = 7'b0000011;
|
||||
localparam logic[6:0] opAluImm = 7'b0010011;
|
||||
localparam logic[6:0] opUpPC = 7'b0010111;
|
||||
localparam logic[6:0] opSt = 7'b0100011;
|
||||
localparam logic[6:0] opAlu = 7'b0110011;
|
||||
localparam logic[6:0] opUpImm = 7'b0110111;
|
||||
localparam logic[6:0] opBranch = 7'b1100011;
|
||||
localparam logic[6:0] opJALR = 7'b1100111;
|
||||
localparam logic[6:0] opJAL = 7'b1101111;
|
||||
|
||||
// Func7: set a local parameter for each function 7
|
||||
localparam logic[6:0] f7neg = 7'b0100000;
|
||||
|
||||
// Func3: set a local parameter for each function 3
|
||||
// Load/Store
|
||||
localparam logic[2:0] f3byte = 3'b000;
|
||||
localparam logic[2:0] f3half = 3'b001;
|
||||
localparam logic[2:0] f3word = 3'b010;
|
||||
localparam logic[2:0] f3byteU = 3'b100;
|
||||
localparam logic[2:0] f3halfU = 3'b101;
|
||||
// ALU
|
||||
localparam logic[2:0] f3add = 3'b000;
|
||||
localparam logic[2:0] f3sl = 3'b001;
|
||||
localparam logic[2:0] f3slt = 3'b010;
|
||||
localparam logic[2:0] f3sltU = 3'b011;
|
||||
localparam logic[2:0] f3xor = 3'b100;
|
||||
localparam logic[2:0] f3sr = 3'b101;
|
||||
localparam logic[2:0] f3or = 3'b110;
|
||||
localparam logic[2:0] f3and = 3'b111;
|
||||
// Branch
|
||||
localparam logic[2:0] f3beq = 3'b000;
|
||||
localparam logic[2:0] f3bne = 3'b001;
|
||||
localparam logic[2:0] f3blt = 3'b100;
|
||||
localparam logic[2:0] f3bge = 3'b101;
|
||||
localparam logic[2:0] f3bltU = 3'b110;
|
||||
localparam logic[2:0] f3bgeU = 3'b111;
|
||||
|
||||
// Local Signals
|
||||
// Instruction breakdown (excluding I/O)
|
||||
logic[6:0] theOp;
|
||||
logic[2:0] theFunct3;
|
||||
logic[6:0] theFunct7;
|
||||
logic[31:0] i_imm;
|
||||
logic[31:0] s_imm;
|
||||
logic[31:0] b_imm;
|
||||
logic[31:0] u_imm;
|
||||
logic[31:0] j_imm;
|
||||
// ALU
|
||||
logic[2:0] aluOp;
|
||||
logic aluNegAr;
|
||||
logic aluBypass;
|
||||
logic[31:0] op1;
|
||||
logic[31:0] op2;
|
||||
logic[31:0] result;
|
||||
logic eqFlag;
|
||||
|
||||
// Instruction breakdown: assign values
|
||||
// OpCode and functions 3/7
|
||||
assign theOp = Instruction[6:0];
|
||||
assign theFunct3 = Instruction[14:12];
|
||||
assign theFunct7 = Instruction[31:25];
|
||||
// Registers
|
||||
assign Rs1 = Instruction[19:15];
|
||||
assign Rs2 = Instruction[24:20];
|
||||
assign Rd = Instruction[11:7];
|
||||
// Immediates
|
||||
always_comb begin : Immediate_Generator
|
||||
i_imm = {{21{Instruction[31]}}, Instruction[30:20]};
|
||||
s_imm = {{21{Instruction[31]}}, Instruction[30:25], Instruction[11:7]};
|
||||
b_imm = {{20{Instruction[31]}}, Instruction[7], Instruction[30:25], Instruction[11:8], 1'b0};
|
||||
u_imm = {Instruction[31:12], 12'b0};
|
||||
j_imm = {{12{Instruction[31]}}, Instruction[19:12], Instruction[20], Instruction[30:21], 1'b0};
|
||||
end
|
||||
|
||||
// Decoder Logic
|
||||
always_comb begin : Main_Decoder
|
||||
// Factored port/signal values
|
||||
JumpOrBranch = '0;
|
||||
JumpOrBranchPC = '0;
|
||||
DAddr = '0;
|
||||
WData = RRs2;
|
||||
WrMem = '0;
|
||||
DWidth = f3word[1:0];
|
||||
WrReg = '1;
|
||||
Illegal = '0;
|
||||
aluOp = theFunct3;
|
||||
aluNegAr = '0;
|
||||
aluBypass = '0;
|
||||
op1 = RRs1;
|
||||
op2 = RRs2;
|
||||
// OpCode Cases
|
||||
case(theOp)
|
||||
opLd: begin
|
||||
DAddr = RRs1 + i_imm;
|
||||
DWidth = theFunct3[1:0];
|
||||
aluBypass = '1;
|
||||
op1 = RData;
|
||||
case(theFunct3)
|
||||
f3byte: op1[31:8] = {24{RData[7]}};
|
||||
f3byteU: op1[31:8] = {24{1'b0}};
|
||||
f3half: op1[31:16] = {16{RData[15]}};
|
||||
f3halfU: op1[31:16] = {16{1'b0}};
|
||||
f3word: ;
|
||||
default: begin
|
||||
Illegal = '1;
|
||||
WrReg = '0;
|
||||
JumpOrBranch = '1;
|
||||
JumpOrBranchPC = CurrentPC;
|
||||
end
|
||||
endcase
|
||||
end
|
||||
opAluImm: begin
|
||||
op2 = i_imm;
|
||||
aluOp = theFunct3;
|
||||
aluNegAr = (theFunct7 == f7neg) & (theFunct3 == f3sr);
|
||||
end
|
||||
opUpPC: begin
|
||||
op1 = u_imm;
|
||||
op2 = CurrentPC;
|
||||
aluOp = f3add;
|
||||
end
|
||||
opSt: begin
|
||||
WrReg = '0;
|
||||
WrMem = '1;
|
||||
DAddr = RRs1 + s_imm;
|
||||
DWidth = theFunct3[1:0];
|
||||
end
|
||||
opAlu: begin
|
||||
aluOp = theFunct3;
|
||||
aluNegAr = (theFunct7 == f7neg) & ((theFunct3 == f3add) | (theFunct3 == f3sr));
|
||||
end
|
||||
opUpImm: begin
|
||||
op1 = u_imm;
|
||||
aluBypass = '1;
|
||||
end
|
||||
opBranch: begin
|
||||
WrReg = '0;
|
||||
JumpOrBranchPC = CurrentPC + b_imm;
|
||||
aluOp = f3slt;
|
||||
case(theFunct3)
|
||||
f3beq : begin JumpOrBranch = ( eqFlag)? '1 : '0; end
|
||||
f3bne : begin JumpOrBranch = (~eqFlag)? '1 : '0; end
|
||||
f3blt : begin JumpOrBranch = ( result[0])? '1 : '0; end
|
||||
f3bge : begin JumpOrBranch = (~result[0])? '1 : '0; end
|
||||
f3bltU: begin aluOp = f3sltU; JumpOrBranch = ( result[0])? '1 : '0; end
|
||||
f3bgeU: begin aluOp = f3sltU; JumpOrBranch = (~result[0])? '1 : '0; end
|
||||
default: begin
|
||||
Illegal = '1;
|
||||
JumpOrBranch = '1;
|
||||
JumpOrBranchPC = CurrentPC;
|
||||
end
|
||||
endcase
|
||||
end
|
||||
opJALR: begin
|
||||
JumpOrBranch = '1;
|
||||
JumpOrBranchPC = (RRs1 + i_imm) & 32'hFFFFFFFE;
|
||||
op1 = CurrentPC;
|
||||
op2 = 4;
|
||||
aluOp = f3add;
|
||||
end
|
||||
opJAL: begin
|
||||
JumpOrBranch = '1;
|
||||
JumpOrBranchPC = CurrentPC + j_imm;
|
||||
op1 = CurrentPC;
|
||||
op2 = 4;
|
||||
aluOp = f3add;
|
||||
end
|
||||
default: begin
|
||||
Illegal = '1;
|
||||
WrReg = '0;
|
||||
JumpOrBranch = '1;
|
||||
JumpOrBranchPC = CurrentPC;
|
||||
end
|
||||
endcase
|
||||
end
|
||||
|
||||
// ALU module instantiation
|
||||
alu theALU (
|
||||
.aluOp(aluOp),
|
||||
.aluNegAr(aluNegAr),
|
||||
.aluBypass(aluBypass),
|
||||
.op1(op1),
|
||||
.op2(op2),
|
||||
.result(result),
|
||||
.eqFlag(eqFlag)
|
||||
);
|
||||
assign WRd = result;
|
||||
|
||||
endmodule
|
||||
@@ -0,0 +1,120 @@
|
||||
// *********************************************************************************************
|
||||
// main_mem.sv - Macro-based implementation using MemGen_32_11
|
||||
// *********************************************************************************************
|
||||
// Replaces the behavioral flip-flop RAM with an SRAM macro wrapper.
|
||||
//
|
||||
// Key differences from the original:
|
||||
// - Uses MemGen_32_11 (2048 words x 32 bits, single-port SRAM macro)
|
||||
// - Time-multiplexed using the 25 MHz clock for two accesses per CPU cycle:
|
||||
// clk12p5=0 -> instruction fetch (IAddr)
|
||||
// clk12p5=1 -> data access (DAddr read/write)
|
||||
// - Word-only writes; SB/SH instructions will be dropped (TODO: add RMW later)
|
||||
// - MEM_INIT_FILE parameter kept for interface compatibility (not functional)
|
||||
// *********************************************************************************************
|
||||
|
||||
module main_mem #(
|
||||
parameter int ABits = 13
|
||||
//parameter string MEM_INIT_FILE = ""
|
||||
)(
|
||||
input logic clk, // 12.5 MHz CPU clock (= clk12p5)
|
||||
// input logic clk_25mhz, // NEW: 25 MHz memory clock
|
||||
input logic reset,
|
||||
input logic[31:0] DAddr,
|
||||
input logic[31:0] IAddr,
|
||||
input logic[31:0] DWData,
|
||||
output logic[31:0] DRData,
|
||||
output logic[31:0] IRData,
|
||||
input logic DWE,
|
||||
input logic[1:0] DWidth
|
||||
);
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Localparam
|
||||
//---------------------------------------------------------------------------
|
||||
localparam logic[1:0] _byte = 2'b00;
|
||||
localparam logic[1:0] _half = 2'b01;
|
||||
localparam logic[1:0] _word = 2'b10;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Time-multiplexing logic
|
||||
//
|
||||
// The CPU runs on clk12p5 (half of clk_25mhz).
|
||||
// We use clk_25mhz to drive the memory; within one CPU cycle:
|
||||
// - During clk12p5 LOW: present instruction address
|
||||
// - During clk12p5 HIGH: present data address
|
||||
//
|
||||
// The macro latches the address on the rising edge of its own clock (clk_25mhz),
|
||||
// so we select which address to send based on the current phase.
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
logic [10:0] mem_addr; // 11-bit word address for MemGen_32_11
|
||||
logic [31:0] mem_wr_data;
|
||||
logic mem_wr_en;
|
||||
logic mem_rd_en;
|
||||
logic [31:0] mem_rd_data;
|
||||
|
||||
// Phase: 0 = instruction fetch, 1 = data access
|
||||
// Since clk12p5 rises on clk_25mhz rising edge, clk12p5 itself tells us the phase
|
||||
wire phase_is_data = clk; // clk = clk12p5
|
||||
|
||||
always_comb begin
|
||||
if (phase_is_data) begin
|
||||
// Data phase
|
||||
mem_addr = DAddr[12:2];
|
||||
mem_wr_data = DWData;
|
||||
mem_wr_en = DWE && !reset && (DWidth == _word);
|
||||
mem_rd_en = !DWE;
|
||||
end else begin
|
||||
// Instruction phase
|
||||
mem_addr = IAddr[12:2];
|
||||
mem_wr_data = 32'h0;
|
||||
mem_wr_en = 1'b0;
|
||||
mem_rd_en = 1'b1;
|
||||
end
|
||||
end
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Single memory macro - time-multiplexed
|
||||
//---------------------------------------------------------------------------
|
||||
MemGen_32_11 u_mem (
|
||||
.chip_en (1'b1),
|
||||
.clock (clk_25mhz), // 2x CPU clock - enables dual access per CPU cycle
|
||||
.addr (mem_addr),
|
||||
.rd_en (mem_rd_en),
|
||||
.rd_data (mem_rd_data),
|
||||
.wr_en (mem_wr_en),
|
||||
.wr_data (mem_wr_dat)
|
||||
);
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Output capture
|
||||
//
|
||||
// On each CPU cycle, we capture:
|
||||
// - IRData: the instruction read during instruction phase
|
||||
// - DRData: the data read during data phase
|
||||
//
|
||||
// The macro delivers rd_data one clk_25mhz cycle after the address.
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
// Capture IRData at the end of the instruction phase (when data phase starts)
|
||||
always_ff @(posedge clk_25mhz) begin
|
||||
if (reset) begin
|
||||
IRData <= 32'h0;
|
||||
end else if (!phase_is_data) begin
|
||||
// We just presented the data address; the read of the previous
|
||||
// instruction address is now available on mem_rd_data
|
||||
// (Note: timing requires verification against macro characteristics)
|
||||
IRData <= mem_rd_data;
|
||||
end
|
||||
end
|
||||
|
||||
// Capture DRData at the end of the data phase (when instruction phase starts)
|
||||
always_ff @(posedge clk_25mhz) begin
|
||||
if (reset) begin
|
||||
DRData <= 32'h0;
|
||||
end else if (phase_is_data) begin
|
||||
DRData <= mem_rd_data;
|
||||
end
|
||||
end
|
||||
|
||||
endmodule
|
||||
@@ -0,0 +1,142 @@
|
||||
// *********************************************************************************************
|
||||
// Project Version : v1.0
|
||||
// Project : [BCDC] Microtec Academy Course: Building a RISC-V CPU with SystemVerilog
|
||||
// -----
|
||||
// Copyright (c) : 2025 Fraunhofer IIS, Department IDS
|
||||
// Created : 12.Jun.2025 by Lund University [commit 5b1e415]
|
||||
// Last Modified : 23.Oct.2025 by Aliakbar Merchant [commit 2f8f03d]
|
||||
// -----
|
||||
// HISTORY : Date By Comments
|
||||
// ----------- ---------- -------------------------------------------------
|
||||
// 22.Oct.2025 A.Merchant Added reset handling condition for Instr. read logic
|
||||
// 22.Oct.2025 A.Merchant Added reset handling condition for data write logic
|
||||
// *********************************************************************************************
|
||||
|
||||
|
||||
`default_nettype wire
|
||||
|
||||
module main_mem #(
|
||||
parameter int ABits = 13 // Number of address bits
|
||||
//parameter string MEM_INIT_FILE = "" // Optional memory initializations file
|
||||
) (
|
||||
input logic clk, // Clock
|
||||
input logic reset, // Active high sync reset
|
||||
input logic[31:0] DAddr, // Data Address
|
||||
input logic[31:0] IAddr, // Instruction Address
|
||||
input logic[31:0] DWData, // Data to write
|
||||
output logic[31:0] DRData, // Data read
|
||||
output logic[31:0] IRData, // Instruction read
|
||||
input logic DWE, // Data write enable, 1=Write
|
||||
input logic [1:0] DWidth // Access width (byte, half word, word)
|
||||
);
|
||||
|
||||
// Local Parameter
|
||||
localparam logic[1:0] _byte = 2'b00; // byte: 8 bits
|
||||
localparam logic[1:0] _half = 2'b01; // half: 16 bits
|
||||
localparam logic[1:0] _word = 2'b10; // word: 32 bits
|
||||
|
||||
// Local Signals
|
||||
//logic[31:0] RAM[2**(ABits-2)-1:0]; // Memory array 8KB(8192): ignores lowest 2 bits as 32bit-word
|
||||
logic [31:0] irTmp;
|
||||
logic[31:0] drTmp; // Temporary register to hold the data read from RAM.
|
||||
logic [10:0] mem_addr; // 11-bit word address for MemGen_32_11
|
||||
logic [31:0] mem_wdata; // 32-bit data bus for MemGen_32_11
|
||||
logic [31:0] mem_rdata; // 32-bit data bus for MemGen_32_11
|
||||
|
||||
|
||||
MemGen_32_11 RAM (
|
||||
.chip_en (1'b1),
|
||||
.clock (clk),
|
||||
.addr (mem_addr),
|
||||
.rd_en (!DWE),
|
||||
.rd_data (mem_rdata),
|
||||
.wr_en (DWE),
|
||||
.wr_data (mem_wdata)
|
||||
);
|
||||
|
||||
// memory initilizations
|
||||
// initial begin
|
||||
|
||||
//if (MEM_INIT_FILE != "") begin
|
||||
// $readmemh(MEM_INIT_FILE, RAM);
|
||||
// end
|
||||
// end
|
||||
|
||||
//---------------------------------------------------------------------------//
|
||||
//--------------------------- DATA WRITE LOGIC ---------------------------//
|
||||
//---------------------------------------------------------------------------//
|
||||
|
||||
|
||||
always_ff @(negedge clk) begin
|
||||
if (reset) begin
|
||||
mem_addr <= 0;
|
||||
end else begin
|
||||
if (DWE) begin
|
||||
mem_addr <= DAddr[(ABits-1):2];
|
||||
// RAM[DAddr[(ABits-1):2]] <= DWData;
|
||||
case (DWidth)
|
||||
_word:
|
||||
mem_wdata <= DWData;
|
||||
_half:
|
||||
case (DAddr[1])
|
||||
1'b0: mem_wdata [31:16] <= DWData[15:0];
|
||||
1'b1: mem_wdata [15: 0] <= DWData[15:0];
|
||||
endcase
|
||||
_byte:
|
||||
case (DAddr[1:0])
|
||||
2'b00: mem_wdata [31:24] <= DWData[7:0];
|
||||
2'b01: mem_wdata [23:16] <= DWData[7:0];
|
||||
2'b10: mem_wdata [15: 8] <= DWData[7:0];
|
||||
2'b11: mem_wdata [ 7: 0] <= DWData[7:0];
|
||||
endcase
|
||||
default: ;
|
||||
endcase
|
||||
end else begin
|
||||
mem_addr <= IAddr[(ABits-1):2];
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
//---------------------------------------------------------------------------//
|
||||
//--------------------------- DATA READ LOGIC ----------------------------//
|
||||
//---------------------------------------------------------------------------//
|
||||
always_ff @(negedge clk) begin
|
||||
drTmp <= mem_rdata;
|
||||
end
|
||||
|
||||
always_comb begin
|
||||
case (DWidth)
|
||||
_word:
|
||||
DRData = drTmp;
|
||||
_half:
|
||||
case (DAddr[1])
|
||||
1'b0: DRData = {16'b0, drTmp[31:16]};
|
||||
1'b1: DRData = {16'b0, drTmp[15: 0]};
|
||||
endcase
|
||||
_byte:
|
||||
case (DAddr[1:0])
|
||||
2'b00: DRData = {24'b0, drTmp[31:24]};
|
||||
2'b01: DRData = {24'b0, drTmp[23:16]};
|
||||
2'b10: DRData = {24'b0, drTmp[15: 8]};
|
||||
2'b11: DRData = {24'b0, drTmp[ 7: 0]};
|
||||
endcase
|
||||
default: ;
|
||||
endcase
|
||||
end
|
||||
|
||||
//---------------------------------------------------------------------------//
|
||||
//----------------------- INSTRUCTION READ LOGIC -------------------------//
|
||||
//---------------------------------------------------------------------------//
|
||||
//
|
||||
//fetch intrcution from memory into IRData
|
||||
always_ff @(posedge clk) begin
|
||||
if (reset) begin
|
||||
IRData <= mem_rdata;
|
||||
end
|
||||
else begin
|
||||
IRData <= mem_rdata;
|
||||
end
|
||||
end
|
||||
|
||||
endmodule
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
#--------------------------------------------------------------------
|
||||
# date : Thu May 28 12:01:37 CEST 2026
|
||||
# ppid/pid : 2439771/2439781
|
||||
# hostname : efiapps0.ads1.fh-nuernberg.de
|
||||
# arch/os : x86_64/Linux-4.18.0-553.123.1.el8_10.x86_64
|
||||
# install : /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1
|
||||
# currdir : /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl
|
||||
# logfile : /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/oasys.log.00
|
||||
# tmpdir : /tmp/oasys.2439771/
|
||||
#--------------------------------------------------------------------
|
||||
# Starting Interactive Session
|
||||
exit
|
||||
#--------------------------------------------------------------------
|
||||
# End Session at Thu May 28 13:20:20 CEST 2026
|
||||
#--------------------------------------------------------------------
|
||||
@@ -0,0 +1,23 @@
|
||||
#--------------------------------------------------------------------
|
||||
# date : Thu May 28 13:29:15 CEST 2026
|
||||
# ppid/pid : 2451524/2451534
|
||||
# hostname : efiapps0.ads1.fh-nuernberg.de
|
||||
# arch/os : x86_64/Linux-4.18.0-553.123.1.el8_10.x86_64
|
||||
# install : /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1
|
||||
# currdir : /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl
|
||||
# logfile : /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/oasys.log.01
|
||||
# tmpdir : /tmp/oasys.2451524/
|
||||
#--------------------------------------------------------------------
|
||||
# Starting Interactive Session
|
||||
ls
|
||||
cd ..
|
||||
ls
|
||||
cd ..
|
||||
cd ..
|
||||
ls
|
||||
source scripts_risc_v/1_read_design.tcl
|
||||
source scripts_risc_v/2_synthesize_optimize.tcl
|
||||
exit
|
||||
#--------------------------------------------------------------------
|
||||
# End Session at Thu May 28 13:42:47 CEST 2026
|
||||
#--------------------------------------------------------------------
|
||||
Whitespace-only changes.
@@ -0,0 +1,317 @@
|
||||
|
||||
@/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/oasys.log.02:1093
|
||||
libc: 2.28-stable
|
||||
|
||||
Timestamp: 1779968572.056193725
|
||||
---
|
||||
PID=2457562 0.129170598 0.075018 0.054153 program start
|
||||
Complete list of environment variables at program start
|
||||
_ /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin/Linux-x86_64-O/oasysGui
|
||||
BASH_FUNC_which%% {() { ( alias;
|
||||
eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@
|
||||
}}
|
||||
CALIBRE_HOME /applications/SiemensEDA/siemenseda2023/calibre/aok_cal_2023.4_39.23
|
||||
CDS_DDIEXPORT /applications/Cadence/cadence2022/DDIEXPORT2233
|
||||
CDS_GENUS /applications/Cadence/cadence2022/DDIEXPORT2233/GENUS*
|
||||
CDS_INNOVUS /applications/Cadence/cadence2022/DDIEXPORT2233/INNOVUS*
|
||||
CDS_JLS /applications/Cadence/cadence2022/DDIEXPORT2233/JLS*
|
||||
CDS_LIC_FILE 1816@141.75.245.12
|
||||
CDS_SSV /applications/Cadence/cadence2022/SSV2213
|
||||
COLORTERM truecolor
|
||||
DBUS_SESSION_BUS_ADDRESS unix:path=/run/user/1083946113/bus,guid=02a4782d1dbcb9e9f51311946a16bc26
|
||||
DBUS_STARTER_ADDRESS unix:path=/run/user/1083946113/bus,guid=02a4782d1dbcb9e9f51311946a16bc26
|
||||
DBUS_STARTER_BUS_TYPE session
|
||||
DESKTOP_SESSION gnome-classic
|
||||
DISPLAY :10
|
||||
ENV_VER 1
|
||||
FORMALITY /applications/Synopsys/synopsys2022/fm/U-2022.12-SP4
|
||||
GNOME_DESKTOP_SESSION_ID this-is-deprecated
|
||||
GNOME_SHELL_SESSION_MODE classic
|
||||
GNOME_TERMINAL_SCREEN /org/gnome/Terminal/screen/46eff583_4eec_45e6_973b_99403434080c
|
||||
GNOME_TERMINAL_SERVICE :1.207
|
||||
HISTCONTROL ignoredups
|
||||
HISTSIZE 1000
|
||||
HOME /users/ads1/charapallivenkatsaja/linux
|
||||
HOSTNAME efiapps0.ads1.fh-nuernberg.de
|
||||
INVOCATION_ID ad18f9577c3a4ac89ac41411f6a6e0c9
|
||||
JOURNAL_STREAM 9:20654617
|
||||
KRB5CCNAME /var/opt/thinlinc/sessions/charapallivenkatsaja/10/krb5cc
|
||||
LANG en_US.UTF-8
|
||||
LANGUAGE en_US
|
||||
LATTICE /applications/Lattice
|
||||
LC_NUMERIC en_US.UTF-8
|
||||
LD_LIBRARY_PATH /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/lib/Linux-x86_64-O:/opt/thinlinc/lib64:/opt/thinlinc/lib
|
||||
LESSOPEN {||/usr/bin/lesspipe.sh %s}
|
||||
LM_LICENSE_FILE 1818@141.75.245.12:1812@141.75.245.10:1810@141.75.245.10
|
||||
LOGNAME charapallivenkatsaja
|
||||
LS_COLORS {rs=0:di=38;5;33:ln=38;5;51:mh=00:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=01;05;37;41:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;40:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.zst=38;5;9:*.tzst=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.wim=38;5;9:*.swm=38;5;9:*.dwm=38;5;9:*.esd=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.mjpg=38;5;13:*.mjpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:}
|
||||
MAIL /var/spool/mail/charapallivenkatsaja
|
||||
MANAGERPID 2391729
|
||||
MANPATH /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/doc/man:
|
||||
MGC_AMS_HOME /applications/SiemensEDA/siemenseda2023/amsv
|
||||
MGC_HOME /applications/SiemensEDA/siemenseda2023
|
||||
MGLS_HOME /applications/SiemensEDA/siemenseda2023/questasim/linux_x86_64/mgls
|
||||
MGLS_LICENSE_FILE 1810@141.75.245.10
|
||||
MODELTECH /applications/SiemensEDA/siemenseda2023/questasim
|
||||
MTI_VCO_MODE 64
|
||||
NIOS2_ROOTDIR /applications/intelFPGA/22.1/nios2eds
|
||||
OASYSLD_LICENSE_FILE /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/license.lic
|
||||
PATH /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin:/applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin/Linux-x86_64-O:/applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/lib/share/formalpro:/applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/lib/share/onespin:/applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/lib/share/slec:/applications/th_tools/scripts:/applications/intelFPGA/22.1/quartus/bin:/applications/intelFPGA/22.1/quartus/qsys/bin:/applications/intelFPGA/22.1/nios2eds:/applications/Lattice/radiant/2023.1/bin/lin64:/applications/Synopsys/synopsys2022/syn/U-2022.12-SP4/amd64/syn/bin:/applications/Synopsys/synopsys2022/scl/2022.12/linux64/bin:/applications/Synopsys/synopsys2022/fm/U-2022.12-SP4/bin:/applications/Synopsys/synopsys2022/txs/U-2022.12-SP4/bin:/applications/Synopsys/synopsys2022/lc/V-2023.12/bin:/applications/th_tools/scripts:/applications/intelFPGA/22.1/quartus/bin:/applications/intelFPGA/22.1/quartus/qsys/bin:/applications/intelFPGA/22.1/nios2eds:/applications/Lattice/radiant/2023.1/bin/lin64:/applications/Synopsys/synopsys2022/syn/U-2022.12-SP4/amd64/syn/bin:/applications/Synopsys/synopsys2022/scl/2022.12/linux64/bin:/applications/Synopsys/synopsys2022/fm/U-2022.12-SP4/bin:/applications/Synopsys/synopsys2022/txs/U-2022.12-SP4/bin:/applications/Synopsys/synopsys2022/lc/V-2023.12/bin:/users/ads1/charapallivenkatsaja/linux/.local/bin:/users/ads1/charapallivenkatsaja/linux/bin:/bin:/usr/bin:/opt/thinlinc/bin:/usr/local/bin:/usr/bin/X11:/sbin:/usr/sbin:/usr/local/sbin:/applications/Cadence/cadence2022/DDIEXPORT2233/bin:/applications/Cadence/cadence2022/SSV2213/bin:/applications/SiemensEDA/siemenseda2023/questasim/bin:/applications/SiemensEDA/siemenseda2023/questasim/linux_x86_64:/applications/SiemensEDA/siemenseda2023/questasim/vco:/applications/SiemensEDA/siemenseda2023/questasim/linux_x86_64/mgls/bin:/applications/SiemensEDA/siemenseda2023/amsv/bin:/applications/SiemensEDA/siemenseda2023/amsv/modeltech/bin:/applications/SiemensEDA/siemenseda2023/calibre/aok_cal_2023.4_39.23/bin:/applications/SiemensEDA/siemenseda2023/tessent/bin:/applications/SiemensEDA/siemenseda2023/oasys/bin:/applications/SiemensEDA/siemenseda2023/precision/bin:/applications/Cadence/cadence2022/DDIEXPORT2233/bin:/applications/Cadence/cadence2022/SSV2213/bin:/applications/SiemensEDA/siemenseda2023/questasim/bin:/applications/SiemensEDA/siemenseda2023/questasim/linux_x86_64:/applications/SiemensEDA/siemenseda2023/questasim/vco:/applications/SiemensEDA/siemenseda2023/questasim/linux_x86_64/mgls/bin:/applications/SiemensEDA/siemenseda2023/amsv/bin:/applications/SiemensEDA/siemenseda2023/amsv/modeltech/bin:/applications/SiemensEDA/siemenseda2023/calibre/aok_cal_2023.4_39.23/bin:/applications/SiemensEDA/siemenseda2023/tessent/bin:/applications/SiemensEDA/siemenseda2023/oasys/bin:/applications/SiemensEDA/siemenseda2023/precision/bin
|
||||
PCSCTUN_COOKIE /var/opt/thinlinc/sessions/charapallivenkatsaja/10/pcsctun-cookie
|
||||
PCSCTUN_SERVER 127.0.0.1:5006
|
||||
PULSE_COOKIE /var/opt/thinlinc/sessions/charapallivenkatsaja/10/pulse-cookie
|
||||
PULSE_RUNTIME_PATH /var/opt/thinlinc/sessions/charapallivenkatsaja/10/pulse
|
||||
PULSE_SERVER {/var/opt/thinlinc/sessions/charapallivenkatsaja/10/pulse/native 127.0.0.1:5005}
|
||||
PWD /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl
|
||||
QSYS_ROOTDIR /applications/intelFPGA/22.1/quartus/qsys/bin
|
||||
QT_IM_MODULE ibus
|
||||
QUARTUS /applications/intelFPGA
|
||||
QUARTUS_ROOTDIR /applications/intelFPGA/22.1/quartus
|
||||
RT_CMD {/applications/SiemensEDA/siemenseda2023/oasys/bin/oasys }
|
||||
RT_HOME /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1
|
||||
RT_LIBPATH /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/lib
|
||||
RT_MANPATH /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/doc/man
|
||||
RT_PID 2457552
|
||||
RT_SIGSTKSZ 16
|
||||
RT_TCL_PATH /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/tcl
|
||||
RT_TMP /tmp/oasys.2457552
|
||||
RT_WRAPPER_SCRIPT /applications/SiemensEDA/siemenseda2023/oasys/bin/oasys
|
||||
SCRIPTS /applications/th_tools/scripts
|
||||
SESSION_MANAGER local/unix:@/tmp/.ICE-unix/2434259,unix/unix:/tmp/.ICE-unix/2434259
|
||||
SHELL /bin/bash
|
||||
SHLVL 4
|
||||
SNPSLMD_LICENSE_FILE 1806@141.75.245.10
|
||||
SSH_ASKPASS /usr/libexec/openssh/gnome-ssh-askpass
|
||||
SSH_AUTH_SOCK /run/user/1083946113/keyring/ssh
|
||||
SYNOPSYS /applications/Synopsys/synopsys2022/syn/U-2022.12-SP4
|
||||
SYNOPSYS_TMAX /applications/Synopsys/synopsys2022/txs/U-2022.12-SP4
|
||||
TCL_LIBRARY /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/tcl/library
|
||||
TERM xterm-256color
|
||||
TLPREFIX /opt/thinlinc
|
||||
TLPROFILE gnome-classic
|
||||
TLSESSIONDATA /var/opt/thinlinc/sessions/charapallivenkatsaja/10
|
||||
TOWN Springfield
|
||||
USER charapallivenkatsaja
|
||||
USERNAME charapallivenkatsaja
|
||||
VTE_VERSION 5204
|
||||
which_declare {declare -f}
|
||||
XAUTHORITY /var/opt/thinlinc/sessions/charapallivenkatsaja/10/Xauthority
|
||||
XDG_CURRENT_DESKTOP GNOME-Classic:GNOME
|
||||
XDG_DATA_DIRS /users/ads1/charapallivenkatsaja/linux/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
|
||||
XDG_MENU_PREFIX gnome-
|
||||
XDG_RUNTIME_DIR /run/user/1083946113
|
||||
XDG_SESSION_CLASS user
|
||||
XDG_SESSION_DESKTOP gnome-classic
|
||||
XDG_SESSION_ID 6060
|
||||
XDG_SESSION_TYPE x11
|
||||
XMODIFIERS @im=ibus
|
||||
---
|
||||
|
||||
Timestamp: 1779968572.059144838
|
||||
---
|
||||
Soft resource limits:
|
||||
|
||||
Executing: /bin/bash -f -c {ulimit -a -S}
|
||||
core file size (blocks, -c) 0
|
||||
data seg size (kbytes, -d) unlimited
|
||||
scheduling priority (-e) 0
|
||||
file size (blocks, -f) unlimited
|
||||
pending signals (-i) 191837
|
||||
max locked memory (kbytes, -l) 64
|
||||
max memory size (kbytes, -m) unlimited
|
||||
open files (-n) 1024
|
||||
pipe size (512 bytes, -p) 8
|
||||
POSIX message queues (bytes, -q) 819200
|
||||
real-time priority (-r) 0
|
||||
stack size (kbytes, -s) 81920
|
||||
cpu time (seconds, -t) unlimited
|
||||
max user processes (-u) 191837
|
||||
virtual memory (kbytes, -v) unlimited
|
||||
file locks (-x) unlimited
|
||||
---
|
||||
|
||||
Timestamp: 1779968572.060768504
|
||||
---
|
||||
Hard resource limits:
|
||||
|
||||
Executing: /bin/bash -f -c {ulimit -a -H}
|
||||
core file size (blocks, -c) unlimited
|
||||
data seg size (kbytes, -d) unlimited
|
||||
scheduling priority (-e) 0
|
||||
file size (blocks, -f) unlimited
|
||||
pending signals (-i) 191837
|
||||
max locked memory (kbytes, -l) 64
|
||||
max memory size (kbytes, -m) unlimited
|
||||
open files (-n) 262144
|
||||
pipe size (512 bytes, -p) 8
|
||||
POSIX message queues (bytes, -q) 819200
|
||||
real-time priority (-r) 0
|
||||
stack size (kbytes, -s) unlimited
|
||||
cpu time (seconds, -t) unlimited
|
||||
max user processes (-u) 191837
|
||||
virtual memory (kbytes, -v) unlimited
|
||||
file locks (-x) unlimited
|
||||
---
|
||||
|
||||
Timestamp: 1779968572.061645115
|
||||
---
|
||||
CPU Information
|
||||
|
||||
processor : 0
|
||||
vendor_id : AuthenticAMD
|
||||
cpu family : 25
|
||||
model : 1
|
||||
model name : AMD EPYC 73F3 16-Core Processor
|
||||
stepping : 1
|
||||
microcode : 0xa0011d3
|
||||
cpu MHz : 3499.999
|
||||
cache size : 512 KB
|
||||
physical id : 0
|
||||
siblings : 1
|
||||
core id : 0
|
||||
cpu cores : 1
|
||||
apicid : 0
|
||||
initial apicid : 0
|
||||
fpu : yes
|
||||
fpu_exception : yes
|
||||
cpuid level : 16
|
||||
wp : yes
|
||||
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero wbnoinvd arat umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor fsrm
|
||||
bugs : fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass srso
|
||||
bogomips : 6999.99
|
||||
TLB size : 2560 4K pages
|
||||
clflush size : 64
|
||||
cache_alignment : 64
|
||||
address sizes : 45 bits physical, 48 bits virtual
|
||||
power management:
|
||||
|
||||
|
||||
processor : 1
|
||||
physical id : 2
|
||||
apicid : 2
|
||||
initial apicid : 2
|
||||
|
||||
processor : 2
|
||||
physical id : 4
|
||||
apicid : 4
|
||||
initial apicid : 4
|
||||
|
||||
processor : 3
|
||||
physical id : 6
|
||||
apicid : 6
|
||||
initial apicid : 6
|
||||
|
||||
processor : 4
|
||||
physical id : 8
|
||||
apicid : 8
|
||||
initial apicid : 8
|
||||
|
||||
processor : 5
|
||||
physical id : 10
|
||||
apicid : 10
|
||||
initial apicid : 10
|
||||
|
||||
processor : 6
|
||||
physical id : 12
|
||||
apicid : 12
|
||||
initial apicid : 12
|
||||
|
||||
processor : 7
|
||||
physical id : 14
|
||||
apicid : 14
|
||||
initial apicid : 14
|
||||
|
||||
processor : 8
|
||||
physical id : 16
|
||||
apicid : 16
|
||||
initial apicid : 16
|
||||
|
||||
processor : 9
|
||||
physical id : 18
|
||||
apicid : 18
|
||||
initial apicid : 18
|
||||
|
||||
processor : 10
|
||||
physical id : 20
|
||||
apicid : 20
|
||||
initial apicid : 20
|
||||
|
||||
processor : 11
|
||||
physical id : 22
|
||||
apicid : 22
|
||||
initial apicid : 22
|
||||
|
||||
This host has 12 processors, with most parameters identical to the first one, except as noted above.
|
||||
|
||||
---
|
||||
|
||||
Timestamp: 1779968572.161364465
|
||||
---
|
||||
Miscellaneous system info for process PID=2457562
|
||||
Recorded at Thu May 28 13:42:52 CEST 2026
|
||||
|
||||
Executing: uptime
|
||||
13:42:52 up 20 days, 1:11, 5 users, load average: 1.99, 2.79, 2.57
|
||||
|
||||
Executing: uname -a
|
||||
Linux efiapps0.ads1.fh-nuernberg.de 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Mon May 4 13:45:48 EDT 2026 x86_64 x86_64 x86_64 GNU/Linux
|
||||
|
||||
Executing: free
|
||||
total used free shared buff/cache available
|
||||
Mem: 49166924 12854332 9280556 826488 27032036 34721076
|
||||
Swap: 25165820 8312 25157508
|
||||
|
||||
Executing: ps u 2457562
|
||||
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
|
||||
charapa+ 2457562 13.0 0.1 438180 69168 pts/2 S+ 13:42 0:00 /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin/Linux-x86_64-O/oasysGui --
|
||||
|
||||
Executing: cat /etc/redhat-release
|
||||
Red Hat Enterprise Linux release 8.9 (Ootpa)
|
||||
|
||||
Executing: ldd /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin/Linux-x86_64-O/oasysGui
|
||||
linux-vdso.so.1 (0x00007fff5a525000)
|
||||
libQt5PrintSupport.so.5 => /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin/Linux-x86_64-O/../../lib/Linux-x86_64-O/libQt5PrintSupport.so.5 (0x00007f7623103000)
|
||||
libQt5Widgets.so.5 => /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin/Linux-x86_64-O/../../lib/Linux-x86_64-O/libQt5Widgets.so.5 (0x00007f76226ab000)
|
||||
libQt5Gui.so.5 => /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin/Linux-x86_64-O/../../lib/Linux-x86_64-O/libQt5Gui.so.5 (0x00007f7621d0f000)
|
||||
libQt5Core.so.5 => /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin/Linux-x86_64-O/../../lib/Linux-x86_64-O/libQt5Core.so.5 (0x00007f7621178000)
|
||||
libmemsh-102.so => /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin/Linux-x86_64-O/../../lib/Linux-x86_64-O/libmemsh-102.so (0x00007f76235b0000)
|
||||
libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f7620f51000)
|
||||
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7620d31000)
|
||||
libdl.so.2 => /lib64/libdl.so.2 (0x00007f7620b2d000)
|
||||
librt.so.1 => /lib64/librt.so.1 (0x00007f7620925000)
|
||||
libX11.so.6 => /lib64/libX11.so.6 (0x00007f76205e1000)
|
||||
libz.so.1 => /lib64/libz.so.1 (0x00007f76203c9000)
|
||||
libm.so.6 => /lib64/libm.so.6 (0x00007f7620047000)
|
||||
libc.so.6 => /lib64/libc.so.6 (0x00007f761fc71000)
|
||||
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f761fa6f000)
|
||||
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f761f755000)
|
||||
/lib64/ld-linux-x86-64.so.2 (0x00007f76233a4000)
|
||||
libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f761f52a000)
|
||||
libxcb.so.1 => /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/bin/Linux-x86_64-O/../../lib/Linux-x86_64-O/libxcb.so.1 (0x00007f761f2f5000)
|
||||
libgnutls.so.30 => /lib64/libgnutls.so.30 (0x00007f761ef04000)
|
||||
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f761ec93000)
|
||||
libXau.so.6 => /lib64/libXau.so.6 (0x00007f761ea8f000)
|
||||
libXdmcp.so.6 => /lib64/libXdmcp.so.6 (0x00007f761e889000)
|
||||
libp11-kit.so.0 => /lib64/libp11-kit.so.0 (0x00007f761e55f000)
|
||||
libidn2.so.0 => /lib64/libidn2.so.0 (0x00007f761e341000)
|
||||
libunistring.so.2 => /lib64/libunistring.so.2 (0x00007f761dfc0000)
|
||||
libtasn1.so.6 => /lib64/libtasn1.so.6 (0x00007f761ddad000)
|
||||
libnettle.so.6 => /lib64/libnettle.so.6 (0x00007f761db73000)
|
||||
libhogweed.so.4 => /lib64/libhogweed.so.4 (0x00007f761d943000)
|
||||
libgmp.so.10 => /lib64/libgmp.so.10 (0x00007f761d6ab000)
|
||||
libffi.so.6 => /lib64/libffi.so.6 (0x00007f761d4a2000)
|
||||
|
||||
Examining disk space in the following directories:
|
||||
Current directory: /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl
|
||||
Oasys' temp directory: /tmp/oasys.2457552/ (normalized path: /tmp/oasys.2457552)
|
||||
RT_TMP directory: /tmp/oasys.2457552
|
||||
|
||||
Executing: df /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl /tmp/oasys.2457552 /tmp/oasys.2457552
|
||||
Filesystem 1K-blocks Used Available Use% Mounted on
|
||||
/dev/sdc1 10485760 2530136 7955624 25% /users
|
||||
/dev/sda3 25582384 9713924 15868460 38% /
|
||||
/dev/sda3 25582384 9713924 15868460 38% /
|
||||
|
||||
|
||||
---
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
*******************************************************************
|
||||
* Oasys-RTL™ - release 2022.2.R1 *
|
||||
* *
|
||||
* This material contains trade secrets or otherwise confidential *
|
||||
* information owned by Siemens Industry Software Inc. or its *
|
||||
* affiliates (collectively, "SISW"), or its licensors. Access to *
|
||||
* and use of this information is strictly limited as set forth *
|
||||
* in the Customer’s applicable agreements with SISW. *
|
||||
* *
|
||||
* Unpublished work. © 2023 Siemens *
|
||||
* *
|
||||
* Program : ../bin/Linux-x86_64-O/oasysGui *
|
||||
* Version : 22.2-p002 *
|
||||
* Date : Mon Jan 16 21:36:23 PST 2023 *
|
||||
* Build : releases/22.2-54756.0-CentOS_6.5-O *
|
||||
*******************************************************************
|
||||
config sdc-v1.7-cpd cli cmd explore mxdb o2n fp rta mpg-m-w dft
|
||||
loading: oa2tessent-d ctl verify edit bt upf-c aos conc ipc-l vcd o2pp prot int oa2ap
|
||||
checked out license: psyncore
|
||||
|
||||
date : Thu May 28 12:01:37 CEST 2026
|
||||
ppid/pid : 2439771/2439781
|
||||
hostname : efiapps0.ads1.fh-nuernberg.de
|
||||
arch/os : x86_64/Linux-4.18.0-553.123.1.el8_10.x86_64
|
||||
install : /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1
|
||||
currdir : /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl
|
||||
logfile : /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/oasys.log.00
|
||||
tmpdir : /tmp/oasys.2439771/
|
||||
> source /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/tcl/library/history.tcl
|
||||
@@ -0,0 +1,591 @@
|
||||
*******************************************************************
|
||||
* Oasys-RTL™ - release 2022.2.R1 *
|
||||
* *
|
||||
* This material contains trade secrets or otherwise confidential *
|
||||
* information owned by Siemens Industry Software Inc. or its *
|
||||
* affiliates (collectively, "SISW"), or its licensors. Access to *
|
||||
* and use of this information is strictly limited as set forth *
|
||||
* in the Customer’s applicable agreements with SISW. *
|
||||
* *
|
||||
* Unpublished work. © 2023 Siemens *
|
||||
* *
|
||||
* Program : ../bin/Linux-x86_64-O/oasysGui *
|
||||
* Version : 22.2-p002 *
|
||||
* Date : Mon Jan 16 21:36:23 PST 2023 *
|
||||
* Build : releases/22.2-54756.0-CentOS_6.5-O *
|
||||
*******************************************************************
|
||||
config sdc-v1.7-cpd cli cmd explore mxdb o2n fp rta mpg-m-w dft
|
||||
loading: oa2tessent-d ctl verify edit bt upf-c aos conc ipc-l vcd o2pp prot int oa2ap
|
||||
checked out license: psyncore
|
||||
|
||||
date : Thu May 28 13:29:15 CEST 2026
|
||||
ppid/pid : 2451524/2451534
|
||||
hostname : efiapps0.ads1.fh-nuernberg.de
|
||||
arch/os : x86_64/Linux-4.18.0-553.123.1.el8_10.x86_64
|
||||
install : /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1
|
||||
currdir : /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl
|
||||
logfile : /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/oasys.log.01
|
||||
tmpdir : /tmp/oasys.2451524/
|
||||
> source /applications/SiemensEDA/siemenseda2023/Oasys-RTL-2022.2.R1/tcl/library/history.tcl
|
||||
> source scripts_risc_v/1_read_design.tcl
|
||||
> source scripts_risc_v/init_design.tcl
|
||||
> config_shell -echo true
|
||||
> config_report timing -format {cell edge arrival delay arc_delay net_delay slew net_load load fanout location power_domain}
|
||||
> source scripts_risc_v/demo_chip_design_files.tcl
|
||||
|
||||
-----------------------------
|
||||
|
||||
Done setting design variables
|
||||
|
||||
-----------------------------
|
||||
|
||||
> read_db ./libs/nangate_mvt.odb
|
||||
info: Reading '/users/projekte/projekt01/RISC-V_w_RAM-Macros/libs/nangate_mvt.odb' [UFILE-107]
|
||||
starting at 00:00:00(cpu)/0:00:51(wall) 102MB(vsz)/470MB(peak)
|
||||
extracting odb ... finished at 00:00:00(cpu)/0:00:51(wall) 102MB(vsz)/470MB(peak)
|
||||
Write Date : Mon, 21 Jun 2021 13:47:25 -0700
|
||||
Host : orw-ericc-r78 (64bit)
|
||||
Tool Version : 21.1-p004 (60,9-71,11)
|
||||
Tool Date : Fri Jun 11 12:44:10 PDT 2021
|
||||
Tool Build : 52545.0-O
|
||||
Design Name :
|
||||
Comment :
|
||||
loading environment ... finished at 00:00:00(cpu)/0:00:51(wall) 102MB(vsz)/470MB(peak)
|
||||
loading libraries ... finished at 00:00:01(cpu)/0:00:51(wall) 113MB(vsz)/476MB(peak)
|
||||
all done
|
||||
> create_threshold_voltage_group HVT -lib_cells {NangateOpenCellLibrary_45nm_HVT_0p85/AND2_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND2_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND2_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND3_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND3_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND3_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND4_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND4_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND4_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/ANTENNA_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI21_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI21_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI21_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI22_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI22_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI22_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI211_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI211_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI211_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI221_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI221_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI221_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI222_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI222_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI222_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X8_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X16_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X32_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKBUF_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKBUF_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKBUF_X3_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATETST_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATETST_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATETST_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATETST_X8_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATE_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATE_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATE_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATE_X8_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFRS_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFRS_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFR_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFR_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFS_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFS_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFF_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFF_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DLH_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DLH_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DLL_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DLL_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FA_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X8_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X16_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X32_HVT NangateOpenCellLibrary_45nm_HVT_0p85/HA_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X8_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X16_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X32_HVT NangateOpenCellLibrary_45nm_HVT_0p85/LOGIC0_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/LOGIC1_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/MUX2_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/MUX2_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND2_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND2_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND2_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND3_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND3_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND3_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND4_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND4_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND4_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR2_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR2_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR2_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR3_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR3_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR3_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR4_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR4_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR4_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI21_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI21_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI21_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI22_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI22_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI22_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI33_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI211_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI211_X2_Line truncated
|
||||
> create_threshold_voltage_group SVT -lib_cells {NangateOpenCellLibrary_45nm_SVT_0p85/AND2_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AND2_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AND2_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AND3_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AND3_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AND3_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AND4_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AND4_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AND4_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/ANTENNA_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI21_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI21_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI21_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI22_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI22_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI22_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI211_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI211_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI211_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI221_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI221_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI221_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI222_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI222_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/AOI222_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/BUF_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/BUF_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/BUF_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/BUF_X8_SVT NangateOpenCellLibrary_45nm_SVT_0p85/BUF_X16_SVT NangateOpenCellLibrary_45nm_SVT_0p85/BUF_X32_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKBUF_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKBUF_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKBUF_X3_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKGATETST_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKGATETST_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKGATETST_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKGATETST_X8_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKGATE_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKGATE_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKGATE_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/CLKGATE_X8_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DFFRS_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DFFRS_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DFFR_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DFFR_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DFFS_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DFF_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DFF_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DLH_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DLH_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DLL_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/DLL_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/FA_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/FILLCELL_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/FILLCELL_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/FILLCELL_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/FILLCELL_X8_SVT NangateOpenCellLibrary_45nm_SVT_0p85/FILLCELL_X16_SVT NangateOpenCellLibrary_45nm_SVT_0p85/FILLCELL_X32_SVT NangateOpenCellLibrary_45nm_SVT_0p85/HA_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/INV_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/INV_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/INV_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/INV_X8_SVT NangateOpenCellLibrary_45nm_SVT_0p85/INV_X16_SVT NangateOpenCellLibrary_45nm_SVT_0p85/INV_X32_SVT NangateOpenCellLibrary_45nm_SVT_0p85/LOGIC0_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/LOGIC1_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/MUX2_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/MUX2_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NAND2_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NAND2_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NAND2_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NAND3_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NAND3_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NAND3_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NAND4_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NAND4_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NAND4_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NOR2_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NOR2_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NOR2_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NOR3_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NOR3_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NOR3_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NOR4_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NOR4_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/NOR4_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/OAI21_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/OAI21_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/OAI21_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/OAI22_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/OAI22_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/OAI22_X4_SVT NangateOpenCellLibrary_45nm_SVT_0p85/OAI33_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/OAI211_X1_SVT NangateOpenCellLibrary_45nm_SVT_0p85/OAI211_X2_SVT NangateOpenCellLibrary_45nm_SVT_0p85/OAI211_XLine truncated
|
||||
> create_threshold_voltage_group LVT -lib_cells {NangateOpenCellLibrary_45nm_LVT_0p85/AND2_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AND2_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AND2_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AND3_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AND3_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AND3_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AND4_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AND4_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AND4_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/ANTENNA_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI21_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI21_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI21_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI22_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI22_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI22_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI211_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI211_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI211_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI221_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI221_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI221_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI222_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI222_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/AOI222_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/BUF_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/BUF_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/BUF_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/BUF_X8_LVT NangateOpenCellLibrary_45nm_LVT_0p85/BUF_X16_LVT NangateOpenCellLibrary_45nm_LVT_0p85/BUF_X32_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKBUF_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKBUF_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKBUF_X3_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKGATETST_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKGATETST_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKGATETST_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKGATETST_X8_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKGATE_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKGATE_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKGATE_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/CLKGATE_X8_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DFFRS_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DFFRS_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DFFR_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DFFR_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DFFS_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DFFS_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DFF_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DFF_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DLH_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DLH_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DLL_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/DLL_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/FA_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/FILLCELL_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/FILLCELL_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/FILLCELL_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/FILLCELL_X8_LVT NangateOpenCellLibrary_45nm_LVT_0p85/FILLCELL_X16_LVT NangateOpenCellLibrary_45nm_LVT_0p85/FILLCELL_X32_LVT NangateOpenCellLibrary_45nm_LVT_0p85/HA_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/INV_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/INV_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/INV_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/INV_X8_LVT NangateOpenCellLibrary_45nm_LVT_0p85/INV_X16_LVT NangateOpenCellLibrary_45nm_LVT_0p85/INV_X32_LVT NangateOpenCellLibrary_45nm_LVT_0p85/LOGIC0_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/LOGIC1_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/MUX2_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/MUX2_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NAND2_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NAND2_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NAND2_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NAND3_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NAND3_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NAND3_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NAND4_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NAND4_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NAND4_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NOR2_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NOR2_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NOR2_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NOR3_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NOR3_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NOR3_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NOR4_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NOR4_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/NOR4_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/OAI21_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/OAI21_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/OAI21_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/OAI22_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/OAI22_X2_LVT NangateOpenCellLibrary_45nm_LVT_0p85/OAI22_X4_LVT NangateOpenCellLibrary_45nm_LVT_0p85/OAI33_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/OAI211_X1_LVT NangateOpenCellLibrary_45nm_LVT_0p85/OAI211_X2_Line truncated
|
||||
> report_operating_conditions
|
||||
Report Operating conditions:
|
||||
-----+---------------+--------+-------------+------------------------------------+--------+--------+-----------
|
||||
|Name |Default?|Type |Library |Process |Voltage |Temperature
|
||||
-----+---------------+--------+-------------+------------------------------------+--------+--------+-----------
|
||||
1 |typical | |standard cell|IO |1.000000|1.100000| 27.000000
|
||||
2 |TYP | |standard cell|PLL_TYP |1.000000|0.900000| 25.000000
|
||||
3 |typical | |standard cell|MemGen_16_10 |1.000000|1.800000| 25.000000
|
||||
4 |worst_low_0p85V| |standard cell|NangateOpenCellLibrary_45nm_HVT_0p85|1.000000|0.850000| -40.000000
|
||||
5 |worst_low | |standard cell|NangateOpenCellLibrary_45nm_HVT |1.000000|0.950000| -40.000000
|
||||
-----+---------------+--------+-------------+------------------------------------+--------+--------+-----------
|
||||
> config_tolerance -blackbox true -connection_mismatch true -missing_physical_library true -continue_on_error false
|
||||
> read_verilog -sv {alu.sv cpu.sv decoder.sv MemGen_32_11.sv main_mem.sv pc.sv reg_file.sv} -include ./riscv_rtl/hw/rtl
|
||||
info: File 'alu.sv', resolved to path '/users/projekte/projekt01/RISC-V_w_RAM-Macros/./riscv_rtl/hw/rtl/alu.sv' using search_path variable. [CMD-126]
|
||||
info: File 'cpu.sv', resolved to path '/users/projekte/projekt01/RISC-V_w_RAM-Macros/./riscv_rtl/hw/rtl/cpu.sv' using search_path variable. [CMD-126]
|
||||
info: File 'decoder.sv', resolved to path '/users/projekte/projekt01/RISC-V_w_RAM-Macros/./riscv_rtl/hw/rtl/decoder.sv' using search_path variable. [CMD-126]
|
||||
info: File 'MemGen_32_11.sv', resolved to path '/users/projekte/projekt01/RISC-V_w_RAM-Macros/./riscv_rtl/hw/rtl/MemGen_32_11.sv' using search_path variable. [CMD-126]
|
||||
info: File 'main_mem.sv', resolved to path '/users/projekte/projekt01/RISC-V_w_RAM-Macros/./riscv_rtl/hw/rtl/main_mem.sv' using search_path variable. [CMD-126]
|
||||
info: File 'pc.sv', resolved to path '/users/projekte/projekt01/RISC-V_w_RAM-Macros/./riscv_rtl/hw/rtl/pc.sv' using search_path variable. [CMD-126]
|
||||
info: File 'reg_file.sv', resolved to path '/users/projekte/projekt01/RISC-V_w_RAM-Macros/./riscv_rtl/hw/rtl/reg_file.sv' using search_path variable. [CMD-126]
|
||||
> set_max_route_layer 10
|
||||
Top-most available layer for routing set to metal10
|
||||
> set_dont_use {IO/PADBID IO/PADCLK PLL_TYP/PLL MemGen_16_10/MemGen_16_10 NangateOpenCellLibrary_45nm_HVT_0p85/AND2_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND2_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND2_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND3_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND3_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND3_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND4_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND4_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AND4_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/ANTENNA_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI21_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI21_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI21_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI22_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI22_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI22_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI211_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI211_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI211_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI221_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI221_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI221_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI222_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI222_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/AOI222_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X8_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X16_HVT NangateOpenCellLibrary_45nm_HVT_0p85/BUF_X32_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKBUF_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKBUF_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKBUF_X3_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATETST_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATETST_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATETST_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATETST_X8_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATE_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATE_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATE_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/CLKGATE_X8_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFRS_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFRS_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFR_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFR_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFS_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFFS_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFF_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DFF_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DLH_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DLH_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DLL_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/DLL_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FA_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X8_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X16_HVT NangateOpenCellLibrary_45nm_HVT_0p85/FILLCELL_X32_HVT NangateOpenCellLibrary_45nm_HVT_0p85/HA_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X8_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X16_HVT NangateOpenCellLibrary_45nm_HVT_0p85/INV_X32_HVT NangateOpenCellLibrary_45nm_HVT_0p85/LOGIC0_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/LOGIC1_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/MUX2_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/MUX2_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND2_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND2_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND2_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND3_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND3_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND3_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND4_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND4_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NAND4_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR2_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR2_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR2_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR3_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR3_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR3_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR4_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR4_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/NOR4_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI21_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI21_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI21_X4_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI22_X1_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI22_X2_HVT NangateOpenCellLibrary_45nm_HVT_0p85/OAI22_X4_HVT ...(306 more)} false
|
||||
|
||||
-----------------------------
|
||||
|
||||
Done preparing design for synthesis
|
||||
|
||||
-----------------------------
|
||||
|
||||
> source scripts_risc_v/2_synthesize_optimize.tcl
|
||||
> synthesize -module cpu -map_to_scan -gate_clock
|
||||
starting synthesize at 00:00:01(cpu)/0:00:56(wall) 120MB(vsz)/480MB(peak)
|
||||
warning: skipping cell ANTENNA_X1_HVT in the library since it does not have delay arcs [NL-215]
|
||||
warning: skipping cell FILLCELL_X1_HVT in the library since it does not have delay arcs [NL-215]
|
||||
warning: skipping cell FILLCELL_X2_HVT in the library since it does not have delay arcs [NL-215]
|
||||
warning: skipping cell FILLCELL_X4_HVT in the library since it does not have delay arcs [NL-215]
|
||||
warning: skipping cell FILLCELL_X8_HVT in the library since it does not have delay arcs [NL-215]
|
||||
warning: skipping cell FILLCELL_X16_HVT in the library since it does not have delay arcs [NL-215]
|
||||
warning: skipping cell FILLCELL_X32_HVT in the library since it does not have delay arcs [NL-215]
|
||||
warning: skipping cell LOGIC0_X1_HVT in the library since it does not have delay arcs [NL-215]
|
||||
warning: skipping cell LOGIC1_X1_HVT in the library since it does not have delay arcs [NL-215]
|
||||
warning: skipping cell ANTENNA_X1_HVT in the library since it does not have delay arcs [NL-215]
|
||||
-------> Message [NL-215] suppressed 44 times
|
||||
info: clock-gating cell for posedge FFs = CLKGATE_X1_LVT in target library 'default' [POWER-112]
|
||||
info: no clock-gating cell found in target library 'default' for negedge FFs for the given specification [POWER-113]
|
||||
info: clock_gating minimum_width = 4, maximum_fanout = 2147483647, num_stages = 2147483647, sequential_cell = (null), control_port = (null), control_point = none, observability = no, use_discrete_cells = no, create_multi_stage = no, merge_multi_stage = no, exclude_instantiated_clock_gates = no, log = (null), allow_clock_inversion = no [POWER-111]
|
||||
info: synthesizing module 'cpu' (depth 1) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/cpu.sv:17)[7]) [VLOG-400]
|
||||
info: synthesizing module 'decoder' (depth 2) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/decoder.sv:17)[7]) [VLOG-400]
|
||||
info: synthesizing module 'alu' (depth 3) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/alu.sv:16)[7]) [VLOG-400]
|
||||
info: done synthesizing module 'alu' (depth 3) (1#7) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/alu.sv:16)[7]) [VLOG-401]
|
||||
info: done synthesizing module 'decoder' (depth 2) (2#7) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/decoder.sv:17)[7]) [VLOG-401]
|
||||
info: synthesizing module 'reg_file' (depth 2) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/reg_file.sv:15)[7]) [VLOG-400]
|
||||
warning: target library has multiple operating conditions defined, but no default has been set. Assuming default voltage 0.85V, temperature -40.00 and process 1.00 [LIB-218]
|
||||
info: done synthesizing module 'reg_file' (depth 2) (3#7) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/reg_file.sv:15)[7]) [VLOG-401]
|
||||
info: synthesizing module 'pc' (depth 2) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/pc.sv:16)[7]) [VLOG-400]
|
||||
info: done synthesizing module 'pc' (depth 2) (4#7) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/pc.sv:16)[7]) [VLOG-401]
|
||||
warning: named parameter override 'MEM_INIT_FILE' does not match any parameter in module 'main_mem' ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/cpu.sv:122)[8]) [VLOG-409]
|
||||
info: synthesizing module 'main_mem' (depth 2) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:18)[7]) [VLOG-400]
|
||||
info: synthesizing module 'MemGen_32_11' (depth 3) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/MemGen_32_11.sv:1)[7]) [VLOG-400]
|
||||
info: done synthesizing module 'MemGen_32_11' (depth 3) (5#7) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/MemGen_32_11.sv:1)[7]) [VLOG-401]
|
||||
warning: always_comb on 'DRData' did not result in combinational logic ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:110)[8], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:113)[16], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:114)[16], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:118)[17], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:119)[17], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:120)[17], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:121)[17]) [SYN-112]
|
||||
warning: inferring latch for variable 'DRData' ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:110)[8], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:113)[16], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:114)[16], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:118)[17], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:119)[17], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:120)[17], (/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:121)[17]) [VLOG-566]
|
||||
info: no appropriate FF cell found for register bank 'mem_wdata_reg' when clock-gating - ignored for clock-gating [POWER-102]
|
||||
info: no appropriate FF cell found for register bank 'mem_wdata_reg' when clock-gating - ignored for clock-gating [POWER-102]
|
||||
info: no appropriate FF cell found for register bank 'mem_wdata_reg' when clock-gating - ignored for clock-gating [POWER-102]
|
||||
info: no appropriate FF cell found for register bank 'mem_wdata_reg' when clock-gating - ignored for clock-gating [POWER-102]
|
||||
info: no appropriate FF cell found for register bank 'mem_wdata_reg' when clock-gating - ignored for clock-gating [POWER-102]
|
||||
info: no appropriate FF cell found for register bank 'mem_wdata_reg' when clock-gating - ignored for clock-gating [POWER-102]
|
||||
info: no appropriate FF cell found for register bank 'mem_wdata_reg' when clock-gating - ignored for clock-gating [POWER-102]
|
||||
info: no appropriate FF cell found for register bank 'mem_wdata_reg' when clock-gating - ignored for clock-gating [POWER-102]
|
||||
info: no appropriate FF cell found for register bank 'mem_wdata_reg' when clock-gating - ignored for clock-gating [POWER-102]
|
||||
info: no appropriate FF cell found for register bank 'mem_wdata_reg' when clock-gating - ignored for clock-gating [POWER-102]
|
||||
-------> Message [POWER-102] suppressed 22 times
|
||||
info: done synthesizing module 'main_mem' (depth 2) (6#7) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/main_mem.sv:18)[7]) [VLOG-401]
|
||||
info: done synthesizing module 'cpu' (depth 1) (7#7) ((/users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/cpu.sv:17)[7]) [VLOG-401]
|
||||
finished synthesize at 00:00:02(cpu)/0:00:57(wall) 173MB(vsz)/530MB(peak)
|
||||
> set_route_layer_max_usage metal2 0.5
|
||||
> set_route_layer_max_usage metal3 0.8
|
||||
> set_route_layer_max_usage metal6 0.8
|
||||
> write_db ./output/odb/riscv_chip.syn.odb
|
||||
info: design 'cpu' has no physical info [WRITE-120]
|
||||
warning: WrSdc.. design 'cpu' has no timing constraints [TA-118]
|
||||
> read_sdc -verbose ./constraints/riscv.sdc
|
||||
> create_clock -name clk_25mhz -period 40.000 -waveform { 0 20 } clk_25mhz
|
||||
> create_generated_clock -name clk_12p5 -source clk_25mhz -divide_by 2 thePC/clk
|
||||
info: create_generated_clock attempted to push hier assertion to driver but driver drives other loads
|
||||
info: Moved 1 constraints on hierarchical pins to their respective driving/loading pins:
|
||||
thePC/clk to {thePC/CurrentPC_reg[0]/CK} {thePC/CurrentPC_reg[1]/CK} {thePC/CurrentPC_reg[2]/CK} {thePC/CurrentPC_reg[3]/CK} {thePC/CurrentPC_reg[4]/CK} {thePC/CurrentPC_reg[5]/CK} {thePC/CurrentPC_reg[6]/CK} {thePC/CurrentPC_reg[7]/CK} {thePC/CurrentPC_reg[8]/CK} {thePC/CurrentPC_reg[9]/CK} {thePC/CurrentPC_reg[10]/CK} {thePC/CurrentPC_reg[11]/CK} {thePC/CurrentPC_reg[12]/CK} {thePC/CurrentPC_reg[13]/CK} {thePC/CurrentPC_reg[14]/CK} {thePC/CurrentPC_reg[15]/CK} {thePC/CurrentPC_reg[16]/CK} {thePC/CurrentPC_reg[17]/CK} {thePC/CurrentPC_reg[18]/CK} {thePC/CurrentPC_reg[19]/CK} {thePC/CurrentPC_reg[20]/CK} {thePC/CurrentPC_reg[21]/CK} {thePC/CurrentPC_reg[22]/CK} {thePC/CurrentPC_reg[23]/CK} {thePC/CurrentPC_reg[24]/CK} {thePC/CurrentPC_reg[25]/CK} {thePC/CurrentPC_reg[26]/CK} {thePC/CurrentPC_reg[27]/CK} {thePC/CurrentPC_reg[28]/CK} {thePC/CurrentPC_reg[29]/CK} {thePC/CurrentPC_reg[30]/CK} {thePC/CurrentPC_reg[31]/CK}
|
||||
> set_clock_uncertainty -setup 0.5 clk_25mhz
|
||||
> set_clock_uncertainty -hold 0.2 clk_25mhz
|
||||
> set_clock_transition 0.1 clk_25mhz
|
||||
> set_input_delay -clock clk_25mhz -max 2.0 { btn[6] btn[5] btn[4] btn[3] btn[2] btn[1] btn[0] }
|
||||
> set_input_delay -clock clk_25mhz -min 0.5 { btn[6] btn[5] btn[4] btn[3] btn[2] btn[1] btn[0] }
|
||||
> set_output_delay -clock clk_25mhz -max 2.0 { led[7] led[6] led[5] led[4] led[3] led[2] led[1] led[0] }
|
||||
> set_output_delay -clock clk_25mhz -min 0.5 { led[7] led[6] led[5] led[4] led[3] led[2] led[1] led[0] }
|
||||
> set_false_path -from btn[0]
|
||||
# set_false_path -from btn[0]
|
||||
> set_clock_groups -asynchronous -group clk_25mhz -group clk_12p5
|
||||
> set_driving_cell -lib_cell BUF_X1_HVT -library NangateOpenCellLibrary_45nm_HVT_0p85 { btn[6] btn[5] btn[4] btn[3] btn[2] btn[1] btn[0] }
|
||||
> set_load 0.05 { led[7] led[6] led[5] led[4] led[3] led[2] led[1] led[0] }
|
||||
> current_design
|
||||
> set_max_fanout 20 cpu
|
||||
> current_design
|
||||
> set_max_transition 0.5 cpu
|
||||
info: 'set_max_fanout' command ignored 1 time(s) [SDC-148]
|
||||
info: 'set_max_transition' command ignored 1 time(s) [SDC-150]
|
||||
> report_design_metrics
|
||||
Report Physical info:
|
||||
------------------------+--------+-----------+------------
|
||||
| |Area (squm)|Leakage (uW)
|
||||
------------------------+--------+-----------+------------
|
||||
Design Name |cpu | |
|
||||
Total Instances | 7271| 60170| 625.907
|
||||
Macros | 4| 46249| 518.216
|
||||
Pads | 0| 0| 0.000
|
||||
Phys | 0| 0| 0.000
|
||||
Blackboxes | 0| 0| 0.000
|
||||
Cells | 7267| 13921| 107.691
|
||||
Buffers | 0| 0| 0.000
|
||||
Inverters | 645| 343| 4.523
|
||||
Clock-Gates | 32| 111| 0.688
|
||||
Combinational | 5426| 6457| 51.156
|
||||
Latches | 32| 85| 0.602
|
||||
FlipFlops | 1132| 6926| 50.722
|
||||
Single-Bit FF | 1132| 6926| 50.722
|
||||
Multi-Bit FF | 0| 0| 0.000
|
||||
Clock-Gated | 993| |
|
||||
Bits | 1132| 6926| 50.722
|
||||
Load-Enabled | 0| |
|
||||
Clock-Gated | 993| |
|
||||
Tristate Pin Count | 0| |
|
||||
Physical Info |Unplaced| |
|
||||
Chip Size (mm x mm) | | 0|
|
||||
Fixed Cell Area | | 0|
|
||||
Phys Only | 0| 0|
|
||||
Placeable Area | | 0|
|
||||
Movable Cell Area | | 60170|
|
||||
Utilization (%) | | |
|
||||
Chip Utilization (%) | | |
|
||||
Total Wire Length (mm)| 0.000| |
|
||||
Longest Wire (mm) | | |
|
||||
Average Wire (mm) | | |
|
||||
------------------------+--------+-----------+------------
|
||||
> check_timing
|
||||
Report Check Timing:
|
||||
-----+------------------------------+------+--------+------+-----------------------------------------------
|
||||
|Item |Errors|Warnings|Status|Description
|
||||
-----+------------------------------+------+--------+------+-----------------------------------------------
|
||||
1 |no_clock_defined | 0| 0|Passed|No clock is defined in the design
|
||||
2 |invalid_generated_clock | 0| 0|Passed|Generated clock is not sourced by a valid clock
|
||||
3 |unconstrained_IO | 0| 1|Passed|Unconstrained IO pin
|
||||
4 |unexpected_assertion | 0| 0|Passed|Found unexpected timing assertion
|
||||
5 |trigger_pin_without_required | 0| 32|Passed|Trigger pin does not get required data
|
||||
6 |setup_pin_without_data | 0| 0|Passed|Setup pin does not get arriving data
|
||||
7 |setup_pin_with_clock | 0| 0|Passed|Setup pin has clock signal arriving
|
||||
8 |clock_pin_with_multiple_clocks| 0| 0|Passed|Clock pin has multiple clock signals
|
||||
9 |clock_pin_without_clock | 0| 1|Passed|Clock pin does not have clock signal
|
||||
10 |clock_pin_with_data | 0| 2|Passed|Clock pin has data signal arriving
|
||||
-----+------------------------------+------+--------+------+-----------------------------------------------
|
||||
> all_inputs
|
||||
> group_path -name I2R -from { btn[6] btn[5] btn[4] btn[3] btn[2] btn[1] btn[0] clk_25mhz scan_en }
|
||||
# group_path -from {btn[6]} {btn[5]} {btn[4]} {btn[3]} {btn[2]} {btn[1]} {btn[0]} clk_25mhz scan_en
|
||||
> all_inputs
|
||||
> all_outputs
|
||||
> group_path -name I2O -from { btn[6] btn[5] btn[4] btn[3] btn[2] btn[1] btn[0] clk_25mhz scan_en } -to { led[7] led[6] led[5] led[4] led[3] led[2] led[1] led[0] }
|
||||
# group_path -from {btn[6]} {btn[5]} {btn[4]} {btn[3]} {btn[2]} {btn[1]} {btn[0]} clk_25mhz scan_en -to {led[7]} {led[6]} {led[5]} {led[4]} {led[3]} {led[2]} {led[1]} {led[0]}
|
||||
> all_outputs
|
||||
> group_path -name R2O -to { led[7] led[6] led[5] led[4] led[3] led[2] led[1] led[0] }
|
||||
# group_path -to {led[7]} {led[6]} {led[5]} {led[4]} {led[3]} {led[2]} {led[1]} {led[0]}
|
||||
> report_path_groups
|
||||
Report Path Groups:
|
||||
-----+-------+------+---------+---------
|
||||
| Path |Weight|Critical |Worst
|
||||
| Group | |Range(ps)|Slack(ps)
|
||||
-----+-------+------+---------+---------
|
||||
1 |default| 1.000| 0.0| 17832.1
|
||||
2 |I2R | 1.000| 0.0| 39366.0
|
||||
3 |I2O | 1.000| 0.0|<ill>
|
||||
4 |R2O | 1.000| 0.0| 36153.7
|
||||
-----+-------+------+---------+---------
|
||||
> optimize -virtual
|
||||
starting optimize at 00:00:03(cpu)/0:00:59(wall) 181MB(vsz)/530MB(peak)
|
||||
info: mapped 0 flop(s) to scan cells, excluded 0 is_dont_scan flop(s) and 0 is_dont_touch flop(s)
|
||||
Log file for child PID=2452026: /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/oasys.etc.01/oasys.w1.01.log
|
||||
Log file for child PID=2452034: /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/oasys.etc.01/oasys.w2.01.log
|
||||
Log file for child PID=2452043: /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/oasys.etc.01/oasys.w3.01.log
|
||||
Log file for child PID=2452053: /users/projekte/projekt01/RISC-V_w_RAM-Macros/riscv_rtl/hw/rtl/oasys.etc.01/oasys.w4.01.log
|
||||
info: optimized '<TOP>' area changed 0.0squm (x1), total 13919.5squm (#1, 0 secs)
|
||||
info: dissolving instance 'thePC' of module 'pc' in module 'cpu__GC0' [NL-146]
|
||||
info: optimized 'cpu__GC0' area changed -1461.7squm (x1), total 12457.8squm (#2)
|
||||
info: optimized 'reg_file__GB1' area changed -841.1squm (x1), total 11616.8squm (#3)
|
||||
info: optimized 'reg_file__always' area changed -83.5squm (x1), total 11533.2squm (#4)
|
||||
info: optimized 'main_mem__GC0' area changed -90.4squm (x1), total 11442.8squm (#5)
|
||||
info: optimized 'MemGen_32_11__block' area changed -2.4squm (x1), total 11440.4squm (#6)
|
||||
info: optimized '<TOP>' area changed 0.0squm (x1), total 11440.4squm (#7, 0 secs)
|
||||
info: optimized 'cpu__GC0' area changed 0.0squm (x1), total 11440.4squm (#8)
|
||||
info: optimized 'MemGen_32_11__block' area changed 0.0squm (x1), total 11440.4squm (#9)
|
||||
info: optimized '<TOP>' area changed 0.0squm (x1), total 11440.4squm (#10, 0 secs)
|
||||
done optimizing area at 00:00:15(cpu)/0:01:06(wall) 181MB(vsz)/568MB(peak)
|
||||
Splitting congested rtl-partitions
|
||||
info: Target library/cell information has changed that further may change timing results. [TA-159]
|
||||
info: optimizing design 'cpu' - propagating constants
|
||||
info: optimized '<TOP>' area changed 0.0squm (x1), total 11440.4squm (#1, 0 secs)
|
||||
info: set slack mode to optimize shift
|
||||
info: resetting all path groups
|
||||
info: activated path group default @ 18015.8ps
|
||||
info: activated path group I2R @ 39177.7ps
|
||||
info: suspended path group I2O @ <ill>ps
|
||||
info: activated path group R2O @ 36338.3ps
|
||||
info: finished path group default @ 18015.8ps
|
||||
info: finished path group R2O @ 36338.3ps
|
||||
info: finished path group I2R @ 39177.7ps
|
||||
info: reactivating path groups
|
||||
info: reactivated path group default @ 18015.8ps
|
||||
info: reactivated path group I2R @ 39177.7ps
|
||||
info: reactivated path group R2O @ 36338.3ps
|
||||
info: finished path group default @ 18015.8ps
|
||||
info: finished path group R2O @ 36338.3ps
|
||||
info: finished path group I2R @ 39177.7ps
|
||||
info: set slack mode to normal
|
||||
info: done with all path groups
|
||||
info: restore all path groups
|
||||
info: starting area recovery on module cpu
|
||||
info: optimized 'cpu__GC0' area recovered 0.00squm (x1), total 0.00squm (1#5), 0.03 secs
|
||||
info: optimized 'main_mem__GC0' area recovered 0.00squm (x1), total 0.00squm (2#5), 0.04 secs
|
||||
info: optimized 'MemGen_32_11__block' area recovered 0.00squm (x1), total 0.00squm (3#5), 0.00 secs
|
||||
info: optimized 'reg_file__always' area recovered 0.00squm (x1), total 0.00squm (4#5), 0.01 secs
|
||||
info: optimized 'reg_file__GB1' area recovered 0.00squm (x1), total 0.00squm (5#5), 0.03 secs
|
||||
info: area recovery done, total area reduction: 0.00squm (0.00%), final slack: 18015.8ps (delta: 0.0ps) (0 secs)
|
||||
done optimizing virtual at 00:00:17(cpu)/0:01:07(wall) 200MB(vsz)/568MB(peak)
|
||||
finished optimize at 00:00:17(cpu)/0:01:07(wall) 201MB(vsz)/568MB(peak)
|
||||
> write_db ./output/odb/riscv_chip.virtual_opt.odb
|
||||
> report_timing
|
||||
Report for group default
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
Startpoint: theMem/IRData_reg[18]/Q
|
||||
(Clocked by clk_25mhz R)
|
||||
Endpoint: theMem/mem_addr_reg[5]/D
|
||||
(Clocked by clk_25mhz F)
|
||||
Path Group: default
|
||||
Data required time: 19227.4
|
||||
(Clock shift: 20000.0, minus Uncertainty: 500.0, plus Latency 0.0, minus Setup time: 272.6)
|
||||
Data arrival time: 1211.5
|
||||
Slack: 18015.8
|
||||
Logic depth: 46
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
Arrival Arc Net Net Total fan-
|
||||
Path Module/Cell Edge Time Delay Delay Delay Slew Load Load out Location
|
||||
(ps) (ps) (ps) (ps) (ps) (ff) (ff) (#) (um,um)
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
clk_25mhz {create_clock} r 0.0 0.0 0.0 0.0 0.0 2
|
||||
i_0_1_2/B->Z MUX2_X2_LVT rr 0.0 0.0 0.0 0.0 100.0 0.0 0.0 100
|
||||
theMem/IRData_reg[18]/CK->Q
|
||||
SDFF_X1_LVT* rr 84.9 84.9 84.9 0.0 100.0 10.6 73.4 11
|
||||
theRegisters/i_1_0_1371/A->ZN
|
||||
INV_X8_LVT rf 87.6 2.7 2.7 0.0 10.2 2.1 13.2 3
|
||||
theRegisters/i_1_0_1339/A2->ZN
|
||||
NAND3_X4_LVT fr 101.6 14.0 14.0 0.0 1.0 2.5 17.5 4
|
||||
theRegisters/i_1_0_1321/A2->ZN
|
||||
NOR2_X4_LVT* rf 120.6 19.0 19.0 0.0 12.1 29.7 130.1 32
|
||||
theRegisters/i_1_0_722/B1->ZN
|
||||
AOI22_X4_LVT* fr 164.9 44.3 44.3 0.0 10.2 0.7 23.4 1
|
||||
theRegisters/i_1_0_721/A->ZN
|
||||
INV_X8_LVT rf 167.0 2.1 2.1 0.0 10.2 0.8 3.0 1
|
||||
theRegisters/i_1_0_718/A->ZN
|
||||
AOI221_X2_LVT fr 224.3 57.3 57.3 0.0 0.6 0.9 4.4 1
|
||||
theRegisters/i_1_0_716/A3->ZN
|
||||
NAND4_X4_LVT rf 239.7 15.4 15.4 0.0 34.6 0.9 3.1 1
|
||||
theRegisters/i_1_0_715/A->ZN
|
||||
AOI221_X2_LVT fr 297.1 57.4 57.4 0.0 6.8 0.9 4.3 1
|
||||
theRegisters/i_1_0_704/A2->ZN
|
||||
NAND4_X4_LVT rf 317.6 20.5 20.5 0.0 34.4 5.9 16.7 3
|
||||
theDecoder/i_0_133/C2->ZN
|
||||
AOI222_X4_LVT fr 428.1 110.5 110.5 0.0 12.2 0.8 23.5 1
|
||||
theDecoder/i_0_132/A->ZN INV_X32_LVT rf 431.2 3.1 3.1 0.0 10.9 5.4 65.3 7
|
||||
theDecoder/theALU/i_0_706/B1->ZN
|
||||
OAI22_X4_LVT* fr 474.4 43.2 43.2 0.0 1.4 1.5 25.9 2
|
||||
theDecoder/theALU/i_0_705/A->ZN
|
||||
INV_X8_LVT rf 476.5 2.2 2.2 0.0 10.2 0.6 4.2 1
|
||||
theDecoder/theALU/i_0_42/A->ZN
|
||||
OAI21_X2_LVT fr 485.6 9.1 9.1 0.0 0.6 0.8 2.5 1
|
||||
theDecoder/theALU/i_0_40/C1->ZN
|
||||
AOI211_X2_LVT rf 491.3 5.6 5.6 0.0 11.6 0.8 2.9 1
|
||||
theDecoder/theALU/i_0_39/B->ZN
|
||||
AOI211_X2_LVT fr 538.7 47.4 47.4 0.0 3.3 0.9 3.0 1
|
||||
theDecoder/theALU/i_0_38/B2->ZN
|
||||
OAI222_X2_LVT rf 555.7 16.9 16.9 0.0 27.7 0.9 2.9 1
|
||||
theDecoder/theALU/i_0_37/C2->ZN
|
||||
AOI221_X2_LVT fr 599.5 43.8 43.8 0.0 8.4 0.9 4.2 1
|
||||
theDecoder/theALU/i_0_35/B1->ZN
|
||||
OAI22_X4_LVT* rf 613.4 13.9 13.9 0.0 34.0 0.7 23.4 1
|
||||
theDecoder/theALU/i_0_34/A->ZN
|
||||
INV_X8_LVT fr 617.9 4.5 4.5 0.0 10.2 0.6 4.1 1
|
||||
theDecoder/theALU/i_0_33/A->ZN
|
||||
AOI21_X4_LVT rf 620.5 2.6 2.6 0.0 2.4 0.8 3.0 1
|
||||
theDecoder/theALU/i_0_32/C2->ZN
|
||||
OAI222_X2_LVT fr 659.0 38.5 38.5 0.0 2.6 0.9 3.3 1
|
||||
theDecoder/theALU/i_0_31/A->ZN
|
||||
OAI221_X2_LVT rf 675.0 16.0 16.0 0.0 29.2 0.8 4.0 1
|
||||
theDecoder/theALU/i_0_28/B1->ZN
|
||||
AOI21_X4_LVT fr 690.5 15.5 15.5 0.0 8.2 0.8 3.0 1
|
||||
theDecoder/theALU/i_0_27/A->ZN
|
||||
AOI221_X2_LVT rf 694.7 4.2 4.2 0.0 13.5 0.9 2.9 1
|
||||
theDecoder/theALU/i_0_26/B->ZN
|
||||
AOI211_X2_LVT fr 746.9 52.2 52.2 0.0 5.3 0.8 4.6 1
|
||||
theDecoder/theALU/i_0_25/B2->ZN
|
||||
OAI22_X2_LVT rf 756.6 9.7 9.7 0.0 31.8 0.8 2.7 1
|
||||
theDecoder/theALU/i_0_24/C2->ZN
|
||||
AOI211_X2_LVT fr 791.0 34.4 34.4 0.0 4.0 0.9 3.1 1
|
||||
theDecoder/theALU/i_0_23/A->ZN
|
||||
AOI221_X2_LVT rf 796.7 5.8 5.8 0.0 27.8 0.9 3.1 1
|
||||
theDecoder/theALU/i_0_22/A->ZN
|
||||
AOI221_X2_LVT fr 850.4 53.7 53.7 0.0 5.4 0.9 3.1 1
|
||||
theDecoder/theALU/i_0_21/A->ZN
|
||||
AOI221_X2_LVT rf 856.5 6.1 6.1 0.0 31.2 0.9 3.1 1
|
||||
theDecoder/theALU/i_0_20/C2->ZN
|
||||
OAI222_X2_LVT fr 895.2 38.8 38.8 0.0 5.4 0.9 3.3 1
|
||||
theDecoder/theALU/i_0_19/A->ZN
|
||||
OAI221_X2_LVT rf 911.8 16.6 16.6 0.0 29.2 0.9 4.7 1
|
||||
theDecoder/theALU/i_0_18/B2->ZN
|
||||
AOI22_X4_LVT fr 942.1 30.3 30.3 0.0 8.6 0.8 4.4 1
|
||||
theDecoder/theALU/i_0_17/B2->ZN
|
||||
OAI21_X4_LVT rf 948.5 6.4 6.4 0.0 16.9 0.7 4.3 1
|
||||
theDecoder/theALU/i_0_16/A->ZN
|
||||
OAI21_X4_LVT fr 958.3 9.8 9.8 0.0 3.6 0.7 3.9 1
|
||||
theDecoder/theALU/i_0_13/B1->ZN
|
||||
AOI21_X4_LVT rf 963.5 5.3 5.3 0.0 12.5 0.8 4.4 1
|
||||
theDecoder/theALU/i_0_12/A4->ZN
|
||||
NOR4_X2_LVT fr 1020.0 56.5 56.5 0.0 2.9 0.8 2.8 1
|
||||
theDecoder/theALU/i_0_0/A3->ZN
|
||||
OR3_X4_LVT rr 1036.6 16.6 16.6 0.0 29.1 0.7 14.7 2
|
||||
theDecoder/i_0_114/B->ZN XNOR2_X2_LVT rf 1043.2 6.5 6.5 0.0 7.8 0.7 4.3 1
|
||||
theDecoder/i_0_113/B1->ZN
|
||||
AOI22_X4_LVT fr 1069.7 26.5 26.5 0.0 5.1 0.8 4.4 1
|
||||
theDecoder/i_0_111/A2->ZN
|
||||
AOI22_X4_LVT rf 1076.1 6.4 6.4 0.0 16.9 0.7 4.3 1
|
||||
theDecoder/i_0_110/A2->ZN
|
||||
NAND2_X4_LVT* fr 1095.3 19.2 19.2 0.0 4.4 9.0 37.6 13
|
||||
i_0_1_63/S->Z MUX2_X2_LVT* rf 1161.7 66.4 66.4 0.0 10.2 11.1 66.7 3
|
||||
theMem/i_0_0_11/B2->ZN AOI22_X4_LVT* fr 1209.5 47.8 47.8 0.0 10.2 0.7 23.4 1
|
||||
theMem/i_0_0_10/A->ZN INV_X8_LVT rf 1211.5 2.0 2.0 0.0 10.2 0.8 1.8 1
|
||||
theMem/mem_addr_reg[5]/D SDFF_X1_LVT f 1211.5 0.0 0.0 0.5
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
Report for group I2R
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
Startpoint: scan_en
|
||||
(Clocked by rtDefaultClock R)
|
||||
Endpoint: clk12p5_reg/D
|
||||
(Clocked by clk_25mhz R)
|
||||
Path Group: I2R
|
||||
Data required time: 39223.7
|
||||
(Clock shift: 40000.0, minus Uncertainty: 500.0, plus Latency 0.0, minus Setup time: 276.3)
|
||||
Data arrival time: 46.0
|
||||
Slack: 39177.7
|
||||
Logic depth: 2
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
Arrival Arc Net Net Total fan-
|
||||
Path Module/Cell Edge Time Delay Delay Delay Slew Load Load out Location
|
||||
(ps) (ps) (ps) (ps) (ps) (ff) (ff) (#) (um,um)
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
scan_en {input_arrival} f 0.0 0.0 0.0 6.9 12.6 2
|
||||
i_0_1_1/A2->ZN NAND2_X4_LVT fr 7.0 7.0 7.0 0.0 0.0 0.7 2.8 1
|
||||
clk12p5_reg_enable_mux_0/S->Z
|
||||
MUX2_X1_LVT rf 46.0 38.9 38.9 0.0 4.9 0.8 1.9 1
|
||||
clk12p5_reg/D SDFF_X1_LVT f 46.0 0.0 0.0 6.6
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
Report for group I2O
|
||||
Report for group R2O
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
Startpoint: theMem/IRData_reg[18]/Q
|
||||
(Clocked by clk_25mhz R)
|
||||
Endpoint: led[7]
|
||||
(Clocked by clk_25mhz R)
|
||||
Path Group: R2O
|
||||
Data required time: 37500.0
|
||||
(Clock shift: 40000.0, minus Uncertainty: 500.0, plus Latency 0.0, minus Out delay: 2000.0)
|
||||
Data arrival time: 1161.7
|
||||
Slack: 36338.3
|
||||
Logic depth: 44
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
Arrival Arc Net Net Total fan-
|
||||
Path Module/Cell Edge Time Delay Delay Delay Slew Load Load out Location
|
||||
(ps) (ps) (ps) (ps) (ps) (ff) (ff) (#) (um,um)
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
clk_25mhz {create_clock} r 0.0 0.0 0.0 0.0 0.0 2
|
||||
i_0_1_2/B->Z MUX2_X2_LVT rr 0.0 0.0 0.0 0.0 100.0 0.0 0.0 100
|
||||
theMem/IRData_reg[18]/CK->Q
|
||||
SDFF_X1_LVT* rr 84.9 84.9 84.9 0.0 100.0 10.6 73.4 11
|
||||
theRegisters/i_1_0_1371/A->ZN
|
||||
INV_X8_LVT rf 87.6 2.7 2.7 0.0 10.2 2.1 13.2 3
|
||||
theRegisters/i_1_0_1339/A2->ZN
|
||||
NAND3_X4_LVT fr 101.6 14.0 14.0 0.0 1.0 2.5 17.5 4
|
||||
theRegisters/i_1_0_1321/A2->ZN
|
||||
NOR2_X4_LVT* rf 120.6 19.0 19.0 0.0 12.1 29.7 130.1 32
|
||||
theRegisters/i_1_0_722/B1->ZN
|
||||
AOI22_X4_LVT* fr 164.9 44.3 44.3 0.0 10.2 0.7 23.4 1
|
||||
theRegisters/i_1_0_721/A->ZN
|
||||
INV_X8_LVT rf 167.0 2.1 2.1 0.0 10.2 0.8 3.0 1
|
||||
theRegisters/i_1_0_718/A->ZN
|
||||
AOI221_X2_LVT fr 224.3 57.3 57.3 0.0 0.6 0.9 4.4 1
|
||||
theRegisters/i_1_0_716/A3->ZN
|
||||
NAND4_X4_LVT rf 239.7 15.4 15.4 0.0 34.6 0.9 3.1 1
|
||||
theRegisters/i_1_0_715/A->ZN
|
||||
AOI221_X2_LVT fr 297.1 57.4 57.4 0.0 6.8 0.9 4.3 1
|
||||
theRegisters/i_1_0_704/A2->ZN
|
||||
NAND4_X4_LVT rf 317.6 20.5 20.5 0.0 34.4 5.9 16.7 3
|
||||
theDecoder/i_0_133/C2->ZN
|
||||
AOI222_X4_LVT fr 428.1 110.5 110.5 0.0 12.2 0.8 23.5 1
|
||||
theDecoder/i_0_132/A->ZN INV_X32_LVT rf 431.2 3.1 3.1 0.0 10.9 5.4 65.3 7
|
||||
theDecoder/theALU/i_0_706/B1->ZN
|
||||
OAI22_X4_LVT* fr 474.4 43.2 43.2 0.0 1.4 1.5 25.9 2
|
||||
theDecoder/theALU/i_0_705/A->ZN
|
||||
INV_X8_LVT rf 476.5 2.2 2.2 0.0 10.2 0.6 4.2 1
|
||||
theDecoder/theALU/i_0_42/A->ZN
|
||||
OAI21_X2_LVT fr 485.6 9.1 9.1 0.0 0.6 0.8 2.5 1
|
||||
theDecoder/theALU/i_0_40/C1->ZN
|
||||
AOI211_X2_LVT rf 491.3 5.6 5.6 0.0 11.6 0.8 2.9 1
|
||||
theDecoder/theALU/i_0_39/B->ZN
|
||||
AOI211_X2_LVT fr 538.7 47.4 47.4 0.0 3.3 0.9 3.0 1
|
||||
theDecoder/theALU/i_0_38/B2->ZN
|
||||
OAI222_X2_LVT rf 555.7 16.9 16.9 0.0 27.7 0.9 2.9 1
|
||||
theDecoder/theALU/i_0_37/C2->ZN
|
||||
AOI221_X2_LVT fr 599.5 43.8 43.8 0.0 8.4 0.9 4.2 1
|
||||
theDecoder/theALU/i_0_35/B1->ZN
|
||||
OAI22_X4_LVT* rf 613.4 13.9 13.9 0.0 34.0 0.7 23.4 1
|
||||
theDecoder/theALU/i_0_34/A->ZN
|
||||
INV_X8_LVT fr 617.9 4.5 4.5 0.0 10.2 0.6 4.1 1
|
||||
theDecoder/theALU/i_0_33/A->ZN
|
||||
AOI21_X4_LVT rf 620.5 2.6 2.6 0.0 2.4 0.8 3.0 1
|
||||
theDecoder/theALU/i_0_32/C2->ZN
|
||||
OAI222_X2_LVT fr 659.0 38.5 38.5 0.0 2.6 0.9 3.3 1
|
||||
theDecoder/theALU/i_0_31/A->ZN
|
||||
OAI221_X2_LVT rf 675.0 16.0 16.0 0.0 29.2 0.8 4.0 1
|
||||
theDecoder/theALU/i_0_28/B1->ZN
|
||||
AOI21_X4_LVT fr 690.5 15.5 15.5 0.0 8.2 0.8 3.0 1
|
||||
theDecoder/theALU/i_0_27/A->ZN
|
||||
AOI221_X2_LVT rf 694.7 4.2 4.2 0.0 13.5 0.9 2.9 1
|
||||
theDecoder/theALU/i_0_26/B->ZN
|
||||
AOI211_X2_LVT fr 746.9 52.2 52.2 0.0 5.3 0.8 4.6 1
|
||||
theDecoder/theALU/i_0_25/B2->ZN
|
||||
OAI22_X2_LVT rf 756.6 9.7 9.7 0.0 31.8 0.8 2.7 1
|
||||
theDecoder/theALU/i_0_24/C2->ZN
|
||||
AOI211_X2_LVT fr 791.0 34.4 34.4 0.0 4.0 0.9 3.1 1
|
||||
theDecoder/theALU/i_0_23/A->ZN
|
||||
AOI221_X2_LVT rf 796.7 5.8 5.8 0.0 27.8 0.9 3.1 1
|
||||
theDecoder/theALU/i_0_22/A->ZN
|
||||
AOI221_X2_LVT fr 850.4 53.7 53.7 0.0 5.4 0.9 3.1 1
|
||||
theDecoder/theALU/i_0_21/A->ZN
|
||||
AOI221_X2_LVT rf 856.5 6.1 6.1 0.0 31.2 0.9 3.1 1
|
||||
theDecoder/theALU/i_0_20/C2->ZN
|
||||
OAI222_X2_LVT fr 895.2 38.8 38.8 0.0 5.4 0.9 3.3 1
|
||||
theDecoder/theALU/i_0_19/A->ZN
|
||||
OAI221_X2_LVT rf 911.8 16.6 16.6 0.0 29.2 0.9 4.7 1
|
||||
theDecoder/theALU/i_0_18/B2->ZN
|
||||
AOI22_X4_LVT fr 942.1 30.3 30.3 0.0 8.6 0.8 4.4 1
|
||||
theDecoder/theALU/i_0_17/B2->ZN
|
||||
OAI21_X4_LVT rf 948.5 6.4 6.4 0.0 16.9 0.7 4.3 1
|
||||
theDecoder/theALU/i_0_16/A->ZN
|
||||
OAI21_X4_LVT fr 958.3 9.8 9.8 0.0 3.6 0.7 3.9 1
|
||||
theDecoder/theALU/i_0_13/B1->ZN
|
||||
AOI21_X4_LVT rf 963.5 5.3 5.3 0.0 12.5 0.8 4.4 1
|
||||
theDecoder/theALU/i_0_12/A4->ZN
|
||||
NOR4_X2_LVT fr 1020.0 56.5 56.5 0.0 2.9 0.8 2.8 1
|
||||
theDecoder/theALU/i_0_0/A3->ZN
|
||||
OR3_X4_LVT rr 1036.6 16.6 16.6 0.0 29.1 0.7 14.7 2
|
||||
theDecoder/i_0_114/B->ZN XNOR2_X2_LVT rf 1043.2 6.5 6.5 0.0 7.8 0.7 4.3 1
|
||||
theDecoder/i_0_113/B1->ZN
|
||||
AOI22_X4_LVT fr 1069.7 26.5 26.5 0.0 5.1 0.8 4.4 1
|
||||
theDecoder/i_0_111/A2->ZN
|
||||
AOI22_X4_LVT rf 1076.1 6.4 6.4 0.0 16.9 0.7 4.3 1
|
||||
theDecoder/i_0_110/A2->ZN
|
||||
NAND2_X4_LVT* fr 1095.3 19.2 19.2 0.0 4.4 9.0 37.6 13
|
||||
i_0_1_63/S->Z MUX2_X2_LVT* rf 1161.7 66.4 66.4 0.0 10.2 11.1 66.7 3
|
||||
led[7] f 1161.7 0.0 0.0 10.2
|
||||
--------------------------------------------------------------------------------------------------------------------------------------
|
||||
> report_path_groups
|
||||
Report Path Groups:
|
||||
-----+-------+------+---------+---------
|
||||
| Path |Weight|Critical |Worst
|
||||
| Group | |Range(ps)|Slack(ps)
|
||||
-----+-------+------+---------+---------
|
||||
1 |default| 1.000| 0.0| 18015.8
|
||||
2 |I2R | 1.000| 0.0| 39177.7
|
||||
3 |I2O | 1.000| 0.0|<ill>
|
||||
4 |R2O | 1.000| 0.0| 36338.3
|
||||
-----+-------+------+---------+---------
|
||||
|
||||
-------------------------------------
|
||||
|
||||
Synthesis and optimization complete
|
||||
|
||||
-------------------------------------
|
||||
|
||||
INFO::Running oasys Tessent DFT flow
|
||||
> source scripts_risc_v/oasys_tessent_dft.tcl
|
||||
INFO::using /applications/SiemensEDA/siemenseda2023/tessent/bin/tessent build to run the Tessent DFT flow
|
||||
> config_tessent -exec_path /applications/SiemensEDA/siemenseda2023/tessent/bin/tessent
|
||||
> define_test_clock -pin clk_25mhz
|
||||
> define_test_pin -pin scan_en -scan_mode 1 -default_scan_enable
|
||||
> set_dont_scan theMem true
|
||||
> define_test_pin -name reset -pin {btn[0]} -scan_mode 1
|
||||
> set_dont_scan clk12p5_reg true
|
||||
invalid command name "add_input_constraints"
|
||||
while executing
|
||||
"add_input_constraints scan_en -C1"
|
||||
(file "scripts_risc_v/oasys_tessent_dft.tcl" line 43)
|
||||
invoked from within
|
||||
"tcl_source scripts_risc_v/oasys_tessent_dft.tcl"
|
||||
invalid command name "add_input_constraints"
|
||||
while executing
|
||||
"add_input_constraints scan_en -C1"
|
||||
(file "scripts_risc_v/oasys_tessent_dft.tcl" line 43)
|
||||
invoked from within
|
||||
"tcl_source scripts_risc_v/oasys_tessent_dft.tcl"
|
||||
("uplevel" body line 1)
|
||||
invoked from within
|
||||
"uplevel 2 [list tcl_source $resolvedFilePath]"
|
||||
(procedure "rt::sourceFile" line 31)
|
||||
invoked from within
|
||||
"rt::sourceFile false false {} scripts_risc_v/oasys_tessent_dft.tcl"
|
||||
("eval" body line 1)
|
||||
invoked from within
|
||||
"eval $cmd"
|
||||
invoked from within
|
||||
"source scripts_risc_v/oasys_tessent_dft.tcl"
|
||||
invoked from within
|
||||
"if {[info exists dft_flow] && [string match $dft_flow tessent]} {
|
||||
puts "INFO::Running oasys Tessent DFT flow"
|
||||
source scripts_risc_v/oasys_tessent_..."
|
||||
(file "scripts_risc_v/2_synthesize_optimize.tcl" line 97)
|
||||
invoked from within
|
||||
"tcl_source scripts_risc_v/2_synthesize_optimize.tcl"
|
||||
@@ -0,0 +1,16 @@
|
||||
*******************************************************************
|
||||
* Oasys-RTL™ - release 2022.2.R1 *
|
||||
* *
|
||||
* This material contains trade secrets or otherwise confidential *
|
||||
* information owned by Siemens Industry Software Inc. or its *
|
||||
* affiliates (collectively, "SISW"), or its licensors. Access to *
|
||||
* and use of this information is strictly limited as set forth *
|
||||
* in the Customer’s applicable agreements with SISW. *
|
||||
* *
|
||||
* Unpublished work. © 2023 Siemens *
|
||||
* *
|
||||
* Program : ../bin/Linux-x86_64-O/oasysGui *
|
||||
* Version : 22.2-p002 *
|
||||
* Date : Mon Jan 16 21:36:23 PST 2023 *
|
||||
* Build : releases/22.2-54756.0-CentOS_6.5-O *
|
||||
*******************************************************************
|
||||
@@ -0,0 +1,37 @@
|
||||
// *********************************************************************************************
|
||||
// Project Version : v1.0
|
||||
// Project : [BCDC] Microtec Academy Course: Building a RISC-V CPU with SystemVerilog
|
||||
// -----
|
||||
// Copyright (c) : 2025 Fraunhofer IIS, Department IDS
|
||||
// Created : 12.Jun.2025 by Lund University [commit 5b1e415]
|
||||
// Last Modified : 23.Oct.2025 by Bomin Kim [commit 2f8f03d]
|
||||
// -----
|
||||
// HISTORY : Date By Comments
|
||||
// ----------- --------- -------------------------------------------------
|
||||
// 15.Oct.2025 Bomin Kim Moved NextPC logic from decoder into PC
|
||||
// 15.Oct.2025 Bomin Kim Removed reset condition from combinational logic
|
||||
// *********************************************************************************************
|
||||
|
||||
|
||||
module pc (
|
||||
output logic[31:0] CurrentPC,
|
||||
input logic[31:0] JumpOrBranchPC,
|
||||
input logic JumpOrBranch,
|
||||
output logic[31:0] NextPC,
|
||||
input logic reset,
|
||||
input logic clk
|
||||
);
|
||||
|
||||
// NextPC logic; next-state function
|
||||
always_comb begin : Next_PC
|
||||
if (JumpOrBranch) NextPC = JumpOrBranchPC;
|
||||
else NextPC = CurrentPC + 4;
|
||||
end
|
||||
|
||||
// CurrentPC logic; state register
|
||||
always_ff @(posedge clk) begin
|
||||
if (reset) CurrentPC <= '0;
|
||||
else CurrentPC <= NextPC;
|
||||
end
|
||||
|
||||
endmodule
|
||||
@@ -0,0 +1,44 @@
|
||||
// *********************************************************************************************
|
||||
// Project Version : v1.0
|
||||
// Project : [BCDC] Microtec Academy Course: Building a RISC-V CPU with SystemVerilog
|
||||
// -----
|
||||
// Copyright (c) : 2025 Fraunhofer IIS, Department IDS
|
||||
// Created : 12.Jun.2025 by Lund University [commit 5b1e415]
|
||||
// Last Modified : 23.Oct.2025 by Bomin Kim [commit 2f8f03d]
|
||||
// -----
|
||||
// HISTORY : Date By Comments
|
||||
// ----------- --------- -------------------------------------------------
|
||||
// 15.Oct.2025 Bomin Kim Added reset handling condition
|
||||
// *********************************************************************************************
|
||||
|
||||
|
||||
module reg_file (
|
||||
input logic[4:0] Rs1,
|
||||
input logic[4:0] Rs2,
|
||||
input logic[4:0] Rd,
|
||||
output logic[31:0] RRs1,
|
||||
output logic[31:0] RRs2,
|
||||
input logic[31:0] WRd,
|
||||
input logic WrReg,
|
||||
input logic reset,
|
||||
input logic clk
|
||||
);
|
||||
|
||||
// Define the registers array
|
||||
logic[31:0] registers[31:1];
|
||||
|
||||
// Register file reading
|
||||
assign RRs1 = Rs1 == 0 ? '0 : registers[Rs1];
|
||||
assign RRs2 = Rs2 == 0 ? '0 : registers[Rs2];
|
||||
|
||||
// Register file writing
|
||||
always_ff @(posedge clk) begin
|
||||
if (reset) begin
|
||||
for (int i=1; i<32; i++)
|
||||
registers[i] <= '0;
|
||||
end else begin
|
||||
if (WrReg & Rd != 0) registers[Rd] <= WRd;
|
||||
end
|
||||
end
|
||||
|
||||
endmodule
|
||||
Reference in new issue
Block a user