URL
https://opencores.org/ocsvn/pairing/pairing/trunk
[/] [pairing/] [trunk/] [rtl/] [f3.v] - Diff between revs 22 and 24
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 22 |
Rev 24 |
Line 1... |
Line 1... |
|
/*
|
|
Copyright 2011, City University of Hong Kong
|
|
Author is Homer (Dongsheng) Xing.
|
|
|
|
This file is part of Tate Bilinear Pairing Core.
|
|
|
|
Tate Bilinear Pairing Core is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Lesser General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Tate Bilinear Pairing Core is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Foobar. If not, see http://www.gnu.org/licenses/lgpl.txt
|
|
*/
|
|
|
// f3_add: C == A+B (mod 3)
|
// f3_add: C == A+B (mod 3)
|
module f3_add(A, B, C);
|
module f3_add(A, B, C);
|
input [1:0] A, B;
|
input [1:0] A, B;
|
output [1:0] C;
|
output [1:0] C;
|
wire a0, a1, b0, b1, c0, c1;
|
wire a0, a1, b0, b1, c0, c1;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.