URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 604 |
Rev 915 |
Line 93... |
Line 93... |
int main () {
|
int main () {
|
unsigned t1;
|
unsigned t1;
|
unsigned t2;
|
unsigned t2;
|
unsigned t3;
|
unsigned t3;
|
printf ("%08x\n", MACRC);
|
printf ("%08x\n", MACRC);
|
|
MAC (888888887, 0x87654321);
|
|
printf ("%08x\n", MACRC);
|
|
exit (0);
|
t1 = test_mul (888888887, 0x87654321);
|
t1 = test_mul (888888887, 0x87654321);
|
t2 = test_mac (888888887, 0x87654321);
|
t2 = test_mac (888888887, 0x87654321);
|
t3 = test_mul_mac (888888887, 0x87654321);
|
t3 = test_mul_mac (888888887, 0x87654321);
|
printf ("%08x, expected %08x\n", t1, T1);
|
printf ("%08x, expected %08x\n", t1, T1);
|
printf ("%08x, expected %08x\n", t2, T2);
|
printf ("%08x, expected %08x\n", t2, T2);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.