LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Fri Jul 27 04:15:11 CEST 2007
    Subject: [cvs-checkins] MODIFIED: dmt_tx ...
    Top
    Date: 00/07/07 27:04:15

    Modified: dmt_tx/const_encoder/rtl const_enc.v
    Log:
    Added tests for constellation maps up to 5-bit.




    Revision Changes Path
    1.7 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.6&r2=1.7

    (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.6
    retrieving revision 1.7
    diff -u -b -r1.6 -r1.7
    --- const_enc.v 26 Jul 2007 16:57:01 -0000 1.6
    +++ const_enc.v 27 Jul 2007 02:15:10 -0000 1.7
    @@ -171,7 +171,7 @@

    4'b0011: begin // #3
    case (cin[2:0])
    - 3'b000: begin x_o <= 9'b000000001; y_o <= 9'b000000011; end
    + 3'b000: begin x_o <= 9'b000000001; y_o <= 9'b000000001; end
    3'b001: begin x_o <= 9'b000000001; y_o <= 9'b111111111; end
    3'b010: begin x_o <= 9'b111111111; y_o <= 9'b000000001; end
    3'b011: begin x_o <= 9'b111111111; y_o <= 9'b111111111; end
    @@ -184,14 +184,14 @@
    end

    4'b0100: begin // #4
    - x_o <= {cin[2], cin[2], cin[2], cin[2], cin[2], cin[2], cin[2], cin[0], 1'b1};
    - y_o <= {cin[3], cin[3], cin[3], cin[3], cin[3], cin[3], cin[3], cin[1], 1'b1};
    + x_o <= {cin[3], cin[3], cin[3], cin[3], cin[3], cin[3], cin[3], cin[1], 1'b1};
    + y_o <= {cin[2], cin[2], cin[2], cin[2], cin[2], cin[2], cin[2], cin[0], 1'b1};
    end

    4'b0101: begin // #5
    map_msb(cin[4:0], msb_x, msb_y);
    - x_o <= {msb_x[1], msb_x[1], msb_x[1], msb_x[1], msb_x[1], msb_x[1], msb_x[0], 1'b1};
    - y_o <= {msb_y[1], msb_y[1], msb_y[1], msb_y[1], msb_y[1], msb_y[1], msb_y[0], 1'b1};
    + x_o <= {msb_x[1], msb_x[1], msb_x[1], msb_x[1], msb_x[1], msb_x[1], msb_x[0], cin[1], 1'b1};
    + y_o <= {msb_y[1], msb_y[1], msb_y[1], msb_y[1], msb_y[1], msb_y[1], msb_y[0], cin[0], 1'b1};
    end

    4'b0110: begin // #6



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.