|
Message
From: cvs at opencores.org<cvs@o...>
Date: Thu Jul 26 18:57:01 CEST 2007
Subject: [cvs-checkins] MODIFIED: dmt_tx ...
Date: 00/07/07 26:18:57 Modified: dmt_tx/const_encoder/rtl const_enc.v Log: Added test for 2-bit constellation map. Revision Changes Path 1.6 dmt_tx/const_encoder/rtl/const_enc.v http://www.opencores.org/cvsweb.shtml/dmt_tx/const_encoder/rtl/const_enc.v.diff?r1=1.5&r2=1.6 (In the diff below, changes in quantity of whitespace are not shown.) Index: const_enc.v =================================================================== RCS file: /cvsroot/dannori/dmt_tx/const_encoder/rtl/const_enc.v,v retrieving revision 1.5 retrieving revision 1.6 diff -u -b -r1.5 -r1.6 --- const_enc.v 25 Jul 2007 16:41:56 -0000 1.5 +++ const_enc.v 26 Jul 2007 16:57:01 -0000 1.6 @@ -68,8 +68,8 @@ input [CONFDW-1:0] conf_data_i; output xy_ready_o; output [CNUMW-1:0] carrier_num_o; -output [CONSTW-1:0] x_o; reg [CONSTW-1:0] x_o; -output [CONSTW-1:0] y_o; reg [CONSTW-1:0] y_o; +output [CONSTW-1:0] x_o; reg signed [CONSTW-1:0] x_o; +output [CONSTW-1:0] y_o; reg signed [CONSTW-1:0] y_o; @@ -165,8 +165,8 @@ else begin case (bit_load) 4'b0010: begin // #2 - x_o <= {cin[0], cin[0], cin[0], cin[0], cin[0], cin[0], cin[0], cin[0], 1'b1}; - y_o <= {cin[1], cin[1], cin[1], cin[1], cin[1], cin[1], cin[1], cin[1], 1'b1}; + x_o <= {cin[1], cin[1], cin[1], cin[1], cin[1], cin[1], cin[1], cin[1], 1'b1}; + y_o <= {cin[0], cin[0], cin[0], cin[0], cin[0], cin[0], cin[0], cin[0], 1'b1}; end 4'b0011: begin // #3
|
 |