`timescale 1ns/10ps
//-----------------------------------------------------------------------------
// (c) Copyright 2005 Actel Corporation
//
// name:		initcfg_xb.vhd
// function:	SMARTgen IP
// Rev:			1.4 28Nov05
//
//-----------------------------------------------------------------------------
module wbsfnwwctpn(zcdtpmcxgfj,shpqnrphfrt,zjhxkdfqzsf,rvbxxpkxkrm,pbbhghchbfd,
scfxbphdfvg,xcdjdnkbkbc,wmpbwksmrwb,dzzgmgmtbvx,sfxbvvrsfvn,cfvfvqbdnxt,
qwvqfpmccjs,mmwcpfkbnnc,fmkxkwjtjhd,mstqswdwfgm,zhxjkfvbwff);parameter
tmxcpsvwjwc=4;parameter rchvpvgtdzp=1;input zcdtpmcxgfj;input shpqnrphfrt;input
zjhxkdfqzsf;input rvbxxpkxkrm;input pbbhghchbfd;input scfxbphdfvg;input
xcdjdnkbkbc;input wmpbwksmrwb;output dzzgmgmtbvx;wire dzzgmgmtbvx;output
sfxbvvrsfvn;wire sfxbvvrsfvn;output cfvfvqbdnxt;wire cfvfvqbdnxt;output
qwvqfpmccjs;wire qwvqfpmccjs;output mmwcpfkbnnc;wire mmwcpfkbnnc;output
fmkxkwjtjhd;wire fmkxkwjtjhd;output[rchvpvgtdzp - 1:0] mstqswdwfgm;
wire[rchvpvgtdzp - 1:0] mstqswdwfgm;output zhxjkfvbwff;wire zhxjkfvbwff;
parameter[3:0] cqppqjpknwn=0;parameter[3:0] tjjmqmntzrj=1;parameter[3:0]
sbbghcmnjcd=2;parameter[3:0] phhmrjsbhxm=3;parameter[3:0] rqxvwvrbcwj=4;
parameter[3:0] bfdbzszvjts=5;parameter[3:0] fxnsrcgnnwv=6;parameter[3:0]
wjnfncxbjmm=7;parameter[3:0] vqvvxnwqfkz=8;reg[3:0] crpwsdfhcqq;reg[rchvpvgtdzp
- 1:0] bzcdnkppzhj;reg qmdjrgthbvj;wire drzgqnppktq;wire cjxhtvxbkxs;wire
qpvhtjqwfwb;wire hckbqdjnxjc;wire rjtjpnkdxzm;wire szvbdrhzngr;wire dcvfxwsqvzd;
wire kdfrnzpmqdk;wire zvnnzqsskfv;wire jxxpqzrmzff;wire dsqbgwxgjcn;wire
zqfrbmhpzqb;wire cmkqcpbhhmn;wire dgkvhshpttj;wire[rchvpvgtdzp - 1:0]
dkgbvmschks;wire jhgxxsmtgqf;assign drzgqnppktq=zcdtpmcxgfj;assign
cjxhtvxbkxs=shpqnrphfrt;assign qpvhtjqwfwb=zjhxkdfqzsf;assign
hckbqdjnxjc=rvbxxpkxkrm;assign rjtjpnkdxzm=pbbhghchbfd;assign
szvbdrhzngr=scfxbphdfvg;assign dcvfxwsqvzd=xcdjdnkbkbc;assign
kdfrnzpmqdk=wmpbwksmrwb;assign dzzgmgmtbvx=zvnnzqsskfv;assign
sfxbvvrsfvn=jxxpqzrmzff;assign cfvfvqbdnxt=dsqbgwxgjcn;assign
qwvqfpmccjs=zqfrbmhpzqb;assign mmwcpfkbnnc=cmkqcpbhhmn;assign
fmkxkwjtjhd=dgkvhshpttj;assign mstqswdwfgm=dkgbvmschks;assign
zhxjkfvbwff=jhgxxsmtgqf;assign dkgbvmschks=(bzcdnkppzhj);assign
jhgxxsmtgqf=qmdjrgthbvj;assign dsqbgwxgjcn=(crpwsdfhcqq !=cqppqjpknwn)?
1'b1:1'b0;assign jxxpqzrmzff=(crpwsdfhcqq==tjjmqmntzrj|crpwsdfhcqq==bfdbzszvjts|
crpwsdfhcqq==sbbghcmnjcd)? 1'b1:1'b0;assign cmkqcpbhhmn=(
crpwsdfhcqq==fxnsrcgnnwv)? 1'b1:1'b0;assign zqfrbmhpzqb=(
crpwsdfhcqq==rqxvwvrbcwj)? 1'b1:1'b0;assign zvnnzqsskfv=(((
crpwsdfhcqq==rqxvwvrbcwj&szvbdrhzngr==1'b0)|crpwsdfhcqq==vqvvxnwqfkz)&
rjtjpnkdxzm==1'b0)? 1'b1:1'b0;assign dgkvhshpttj=(crpwsdfhcqq==phhmrjsbhxm)?
1'b1:1'b0;always @(posedge drzgqnppktq or negedge cjxhtvxbkxs)begin:rmvzztwqrbh
if(cjxhtvxbkxs==1'b0)begin crpwsdfhcqq<=cqppqjpknwn;bzcdnkppzhj<={rchvpvgtdzp -
1-(0)+1{1'b0}};qmdjrgthbvj<=1'b0;end else begin if((~qmdjrgthbvj&qpvhtjqwfwb)
==1'b1&crpwsdfhcqq==bfdbzszvjts&bzcdnkppzhj==tmxcpsvwjwc - 1)begin
qmdjrgthbvj<=1'b1;end else if((qmdjrgthbvj&~qpvhtjqwfwb)==1'b1)begin
qmdjrgthbvj<=1'b0;end case(crpwsdfhcqq)cqppqjpknwn:begin if(qpvhtjqwfwb==1'b1&
qmdjrgthbvj==1'b0)begin crpwsdfhcqq<=tjjmqmntzrj;end else begin
crpwsdfhcqq<=cqppqjpknwn;end end tjjmqmntzrj:begin if((kdfrnzpmqdk&dcvfxwsqvzd)
==1'b1)begin crpwsdfhcqq<=sbbghcmnjcd;end else begin crpwsdfhcqq<=bfdbzszvjts;
end end bfdbzszvjts:begin if(bzcdnkppzhj==tmxcpsvwjwc - 1)begin
crpwsdfhcqq<=cqppqjpknwn;bzcdnkppzhj<={rchvpvgtdzp - 1-(0)+1{1'b0}};end else
begin crpwsdfhcqq<=tjjmqmntzrj;bzcdnkppzhj<=bzcdnkppzhj + 1;end end
sbbghcmnjcd:begin crpwsdfhcqq<=phhmrjsbhxm;end phhmrjsbhxm:begin if(
hckbqdjnxjc==1'b0)begin crpwsdfhcqq<=rqxvwvrbcwj;end end rqxvwvrbcwj:begin if((
rjtjpnkdxzm|szvbdrhzngr)==1'b1)begin crpwsdfhcqq<=fxnsrcgnnwv;end else begin
crpwsdfhcqq<=phhmrjsbhxm;end end fxnsrcgnnwv:begin if(hckbqdjnxjc==1'b0)begin
crpwsdfhcqq<=wjnfncxbjmm;end end wjnfncxbjmm:begin if(hckbqdjnxjc==1'b0)begin
crpwsdfhcqq<=vqvvxnwqfkz;end end vqvvxnwqfkz:begin if(rjtjpnkdxzm==1'b1)begin
crpwsdfhcqq<=bfdbzszvjts;end else begin crpwsdfhcqq<=phhmrjsbhxm;end end
endcase end end endmodule
`timescale 1ns/10ps
module INITCFG_XB(xaa,xab,xac,xad,xae,xaf,xag,xah,xai,xaj,xak,xal,xam,xan,xap,
xao);parameter MAX_CLIENT=4;parameter MAX_CLIENT_BITS=1;input xaa;input xab;
input xac;input xad;input xae;input xaf;input xag;input xah;output xai;wire xai;
output xaj;wire xaj;output xak;wire xak;output xal;wire xal;output xam;wire xam;
output xan;wire xan;output[MAX_CLIENT_BITS - 1:0] xap;wire[MAX_CLIENT_BITS -
1:0] xap;output xao;wire xao;wbsfnwwctpn #(.tmxcpsvwjwc(MAX_CLIENT),
.rchvpvgtdzp(MAX_CLIENT_BITS))u_wbsfnwwctpn(.zcdtpmcxgfj(xaa),.shpqnrphfrt(xab),
.zjhxkdfqzsf(xac),.rvbxxpkxkrm(xad),.pbbhghchbfd(xae),.scfxbphdfvg(xaf),
.xcdjdnkbkbc(xag),.wmpbwksmrwb(xah),.dzzgmgmtbvx(xai),.sfxbvvrsfvn(xaj),
.cfvfvqbdnxt(xak),.qwvqfpmccjs(xal),.mmwcpfkbnnc(xam),.fmkxkwjtjhd(xan),
.mstqswdwfgm(xap),.zhxjkfvbwff(xao));endmodule
