add effect mixer module and posibility to switch effects

This commit is contained in:
Imants Pulkstenis
2019-11-24 21:59:44 +02:00
parent 518bbe43cb
commit 11c36aec2d
6 changed files with 315 additions and 34 deletions
+2 -2
View File
@@ -13,11 +13,11 @@ module clipping_effect #( parameter
);
//-------------Internal Constants---------------------------
localparam [3:0] IDLE = 'd0,
localparam [2:0] IDLE = 'd0,
CLIP = 'd1,
OUTPUT = 'd2;
reg [3:0] r_state=IDLE, r_next=IDLE;
reg [2:0] r_state=IDLE, r_next=IDLE;
reg signed [data_width-1: 0] r_data = 'b0;
reg signed [data_width-1: 0] r_treshhold_p = 'b0;