You can use encode=DW8B10B in the LFSR statement to make your bit sequence 8b10b. ________________________________ From: Joel Brown <joel@xxxxxxxxxx> To: SI-List <si-list@xxxxxxxxxxxxx> Sent: Monday, April 23, 2012 8:04 PM Subject: [SI-LIST] pattern generator code for PCI express simulation Wondering what people use for generating stimulus for PCI Express channel simulation. My understanding is that it takes millions of bits of data to generate a worse case eye diagram. I have been using the following: LFSR(0 1V 1n 5ps 5ps 'data_rate' 1 [7,4,1] rout=0) Which I think came with an example file for one of my models. Since it is only 7 bits the pseudo random pattern will be at most 127 bits long and it is not 8b10b encoded. So my thoughts are to use a much longer sequence and run it through an 8b10b encoder. I found Verilog code to do this but now I have to figure out how to incorporate it into an Hspice simulation. Thanks - Joel ------------------------------------------------------------------ To unsubscribe from si-list: si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field or to administer your membership from a web page, go to: //www.freelists.org/webpage/si-list For help: si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field List forum is accessible at: http://tech.groups.yahoo.com/group/si-list List archives are viewable at: //www.freelists.org/archives/si-list Old (prior to June 6, 2001) list archives are viewable at: http://www.qsl.net/wb6tpu ------------------------------------------------------------------ To unsubscribe from si-list: si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field or to administer your membership from a web page, go to: //www.freelists.org/webpage/si-list For help: si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field List forum is accessible at: http://tech.groups.yahoo.com/group/si-list List archives are viewable at: //www.freelists.org/archives/si-list Old (prior to June 6, 2001) list archives are viewable at: http://www.qsl.net/wb6tpu