OpenCores
URL https://opencores.org/ocsvn/pairing/pairing/trunk

Subversion Repositories pairing

[/] [pairing/] [trunk/] [rtl/] [inc.v] - Diff between revs 3 and 5

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 3 Rev 5
Line 1... Line 1...
 
// drop def & const here :D
 
 
 
`define M     97          // M is the degree of the irreducible polynomial
 
`define WIDTH (2*`M-1)    // width for a GF(3^M) element
 
`define W2    (4*`M-1)    // width for a GF(3^{2*M}) element
 
`define W3    (6*`M-1)    // width for a GF(3^{3*M}) element
 
`define W6    (12*`M-1)   // width for a GF(3^{6*M}) element
 
`define PX    196'h4000000000000000000000000000000000000000001000002 // PX is the irreducible polynomial
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.