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

Subversion Repositories apbtoaes128

[/] [apbtoaes128/] [trunk/] [pli/] [env_aes.c] - Diff between revs 12 and 18

Show entire file | Details | Blame | View Log

Rev 12 Rev 18
Line 71... Line 71...
//// from http://www.opencores.org/lgpl.shtml
//// from http://www.opencores.org/lgpl.shtml
////
////
////
////
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
 
 
#include "../../iverilog/vpi_user.h"
#include "../iverilog/vpi_user.h"
//#include <vpi_user.h>
//#include <vpi_user.h>
#include <iostream>
#include <iostream>
#include <random>
#include <random>
#include<string.h>
#include<string.h>
 
 
Line 126... Line 126...
unsigned long  int M;
unsigned long  int M;
unsigned long  int N;
unsigned long  int N;
 
 
unsigned long  int O;
unsigned long  int O;
 
 
 
unsigned long  int last_cr;
 
 
 
int counter_sufle;
 
 
int type_bfm;
int type_bfm;
 
 
int STATE;
int STATE;
int STATE_RESET;
int STATE_RESET;
 
 
Line 258... Line 262...
#define FIPS 0
#define FIPS 0
#define RANDOM_DATA 1
#define RANDOM_DATA 1
 
 
 
 
/*MAX PACKETS GENERATION*/
/*MAX PACKETS GENERATION*/
#define MAX_ITERATIONS 3
#define MAX_ITERATIONS 4
 
 
 
#define MAX_ITERATION_PER_SUFLE 6
 
 
/*MAX RESET GENERATION */
/*MAX RESET GENERATION */
#define MAX_RESET_TIMES 4
#define MAX_RESET_TIMES 4
 
 
/*THIS IS USED BY MONITOR TO CATCH INPUTS AND OUTPUTS*/
/*THIS IS USED BY MONITOR TO CATCH INPUTS AND OUTPUTS*/

powered by: WebSVN 2.1.0

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