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

Subversion Repositories systemc_rng

[/] [systemc_rng/] [trunk/] [rtl/] [systemc/] [rng.h] - Diff between revs 2 and 6

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

Rev 2 Rev 6
Line 44... Line 44...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.1.1.1  2004/08/19 14:27:14  jcastillo
 
// First import
 
//
#include "systemc.h"
#include "systemc.h"
 
 
SC_MODULE(rng){
SC_MODULE (rng)
 
{
 
 
           sc_in<bool> clk;
           sc_in<bool> clk;
           sc_in<bool> reset;
           sc_in<bool> reset;
 
 
           sc_in<bool> loadseed_i;
           sc_in<bool> loadseed_i;
Line 63... Line 67...
 
 
           void CASR();
           void CASR();
           void LFSR();
           void LFSR();
           void combinate();
           void combinate();
 
 
           SC_CTOR(rng){
  SC_CTOR (rng)
 
  {
 
 
                   SC_METHOD(CASR);
                   SC_METHOD(CASR);
                   sensitive_pos << clk;
                   sensitive_pos << clk;
                   sensitive_neg << reset;
                   sensitive_neg << reset;
 
 

powered by: WebSVN 2.1.0

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