translate2geda icon indicating copy to clipboard operation
translate2geda copied to clipboard

Fix parsing BSDLs where the port is terminated in the same line

Open martonmiklos opened this issue 5 months ago • 0 comments

Hi @erichVK5

many thanks for this tool!

I came across a BSDL: https://bsdl.info/view.htm?sid=60458d52ec2699e688ca59b002289d77

Where the ports section was terminated with a ); in the same line as the pin:


	            D7:	inout	bit;
	            D8:	inout	bit;
	            D9:	inout	bit);   <--

	use STD_1149_1_1994.all;

Rather than fixing the BSDL I fixed the code to handle this case.

martonmiklos avatar Sep 12 '24 22:09 martonmiklos