`timescale 1ns/10ps
//-----------------------------------------------------------------------------
// (c) Copyright 2005 Actel Corporation
//
// name:		initcfg_xd.vhd
// function:	SMARTgen IP
// Rev:			1.4 28Nov05
//
//-----------------------------------------------------------------------------
module dxwqxgdccxc(xssfvmhwvqr,vzkrtwmkbfp,wpfsqtfqtmx,xkvhpkkjhmx,fjnpbpzwdfq,
frghwwdcnrp,wqwwrvhjsjn,fpqczqbtsss,rjbphxwnnvg,nxgsfjcdzzs,vndvfnkzrjh,
qgjhdcsjsnm,tgdcsdwhfxk);parameter pjbfkczqqqn=10;input xssfvmhwvqr;input
vzkrtwmkbfp;input wpfsqtfqtmx;input xkvhpkkjhmx;input[17:0] fjnpbpzwdfq;
input[pjbfkczqqqn - 1:0] frghwwdcnrp;input[1:0] wqwwrvhjsjn;input fpqczqbtsss;
input rjbphxwnnvg;output[17:0] nxgsfjcdzzs;wire[17:0] nxgsfjcdzzs;
output[pjbfkczqqqn - 1:0] vndvfnkzrjh;wire[pjbfkczqqqn - 1:0] vndvfnkzrjh;
output qgjhdcsjsnm;wire qgjhdcsjsnm;output tgdcsdwhfxk;wire tgdcsdwhfxk;
reg[pjbfkczqqqn - 1:0] gnmdxrqrdgs;reg kftxkfpnstb;reg whjmwvkhppg;wire[17:0]
mzjkcvxthjd;wire[17:0] ggfvvjbkdws;wire[17:0] zwwkvpdkxxz;wire[17:0]
mbvdnqcvcsk;wire[17:0] mzjgqbcjvkt;wire[17:0] dkjzqmrkvwb;wire[17:0]
fkkgzgqqjcg;wire svsgrbsrwbx;wire ddqqkfbmpxc;wire kzgsdsznrwv;wire tnjvgqqhdkd;
wire[17:0] tsxbrzwpbfb;wire[pjbfkczqqqn - 1:0] nmkgbzzhvms;wire[1:0]
brqjfzhdpxc;wire cjprksxkhsp;wire cpvgpntqkzz;wire[17:0] tqxgjghczwp;
wire[pjbfkczqqqn - 1:0] xpfhwvtdxqs;wire hvsmtdhhdwv;wire xzczkwrmrng;assign
svsgrbsrwbx=xssfvmhwvqr;assign ddqqkfbmpxc=vzkrtwmkbfp;assign
kzgsdsznrwv=wpfsqtfqtmx;assign tnjvgqqhdkd=xkvhpkkjhmx;assign
tsxbrzwpbfb=fjnpbpzwdfq;assign nmkgbzzhvms=frghwwdcnrp;assign
brqjfzhdpxc=wqwwrvhjsjn;assign cjprksxkhsp=fpqczqbtsss;assign
cpvgpntqkzz=rjbphxwnnvg;assign nxgsfjcdzzs=tqxgjghczwp;assign
vndvfnkzrjh=xpfhwvtdxqs;assign qgjhdcsjsnm=hvsmtdhhdwv;assign
tgdcsdwhfxk=xzczkwrmrng;assign hvsmtdhhdwv=kftxkfpnstb;assign
xzczkwrmrng=whjmwvkhppg;assign xpfhwvtdxqs=(gnmdxrqrdgs);assign tqxgjghczwp=(
fkkgzgqqjcg);generate if(pjbfkczqqqn<18)begin:grtwdzjfrbn genvar i;for(
i=pjbfkczqqqn;i<=17;i=i + 1)begin:gdjbdpknqtc assign mzjkcvxthjd[i]=1'b0;end
assign mzjkcvxthjd[pjbfkczqqqn - 1:0]=gnmdxrqrdgs[pjbfkczqqqn - 1:0];end
endgenerate generate if(pjbfkczqqqn>=18)begin:xxpqsnkjmrr assign
mzjkcvxthjd[17:0]=gnmdxrqrdgs[17:0];end endgenerate assign ggfvvjbkdws=(
brqjfzhdpxc !=2'b00)?({mzjkcvxthjd[16:0],1'b0}):mzjkcvxthjd;assign
zwwkvpdkxxz={5'b00000,(({tsxbrzwpbfb[17:12],tsxbrzwpbfb[6:0]}))};assign
mbvdnqcvcsk=(cpvgpntqkzz==1'b1)? zwwkvpdkxxz:(tsxbrzwpbfb);assign dkjzqmrkvwb=(
mbvdnqcvcsk)+ ggfvvjbkdws;assign mzjgqbcjvkt={dkjzqmrkvwb[12:7],5'b00000,
dkjzqmrkvwb[6:0]};assign fkkgzgqqjcg=(cpvgpntqkzz==1'b1)?
mzjgqbcjvkt:dkjzqmrkvwb;always @(posedge svsgrbsrwbx or negedge ddqqkfbmpxc)
begin:jvbvzqvvxpc if(ddqqkfbmpxc==1'b0)begin gnmdxrqrdgs<={pjbfkczqqqn - 1-(0)
+1{1'b0}};kftxkfpnstb<=1'b0;end else begin if(tnjvgqqhdkd==1'b1)begin
gnmdxrqrdgs<={pjbfkczqqqn - 1-(0)+1{1'b0}};end else if(kzgsdsznrwv==1'b1)begin
gnmdxrqrdgs<=gnmdxrqrdgs + 1;end if(gnmdxrqrdgs==(nmkgbzzhvms))begin
kftxkfpnstb<=1'b1;end else if(tnjvgqqhdkd==1'b1)begin kftxkfpnstb<=1'b0;end end
end always @(fkkgzgqqjcg or brqjfzhdpxc or cjprksxkhsp)begin:gncnhthqqtj if(
fkkgzgqqjcg[6:1]==6'b111111&(fkkgzgqqjcg[0]|brqjfzhdpxc[0]|brqjfzhdpxc[1])
==1'b1)begin whjmwvkhppg<=cjprksxkhsp;end else begin whjmwvkhppg<=1'b0;end end
endmodule
`timescale 1ns/10ps
module INITCFG_XD(xaa,xab,xac,xad,xae,xaf,xag,xah,xai,xaj,xak,xal,xam);
parameter MAX_WORD_BIT=10;input xaa;input xab;input xac;input xad;input[17:0]
xae;input[MAX_WORD_BIT - 1:0] xaf;input[1:0] xag;input xah;input xai;
output[17:0] xaj;wire[17:0] xaj;output[MAX_WORD_BIT - 1:0] xak;
wire[MAX_WORD_BIT - 1:0] xak;output xal;wire xal;output xam;wire xam;
dxwqxgdccxc #(.pjbfkczqqqn(MAX_WORD_BIT))u_dxwqxgdccxc(.xssfvmhwvqr(xaa),
.vzkrtwmkbfp(xab),.wpfsqtfqtmx(xac),.xkvhpkkjhmx(xad),.fjnpbpzwdfq(xae),
.frghwwdcnrp(xaf),.wqwwrvhjsjn(xag),.fpqczqbtsss(xah),.rjbphxwnnvg(xai),
.nxgsfjcdzzs(xaj),.vndvfnkzrjh(xak),.qgjhdcsjsnm(xal),.tgdcsdwhfxk(xam));
endmodule
