minor update

This commit is contained in:
Blaise Tine
2021-01-07 17:25:59 -08:00
parent ac2242b51f
commit 5c83c594c1
4 changed files with 20 additions and 11 deletions

View File

@@ -72,7 +72,7 @@ module VX_cluster #(
wire core_reset;
VX_reset_relay #(
.PASSTHRU (`NUM_CORES == 1)
.PASSTHRU (`NUM_CORES <= 2)
) reset_relay (
.clk (clk),
.reset (reset),

View File

@@ -73,7 +73,7 @@ module Vortex (
wire cluster_reset;
VX_reset_relay #(
.PASSTHRU (`NUM_CLUSTERS == 1)
.PASSTHRU (`NUM_CLUSTERS <= 2)
) reset_relay (
.clk (clk),
.reset (reset),

View File

@@ -72,11 +72,12 @@ module VX_skid_buffer #(
valid_out_r <= valid_in || use_buffer;
end
end
end
always @(posedge clk) begin
if (push) begin
buffer <= data_in;
end
if (!valid_out_r || ready_out) begin
data_out_r <= use_buffer ? buffer : data_in;
end