Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New line not inserted after comment #18

Open
RhinomanUK opened this issue Oct 24, 2019 · 1 comment
Open

New line not inserted after comment #18

RhinomanUK opened this issue Oct 24, 2019 · 1 comment

Comments

@RhinomanUK
Copy link

I was trying to format this example code:
http://esd.cs.ucr.edu/labs/tutorial/DRIVER.vhd

new lines aren't inserted
remove comments deletes all code.

@g2384
Copy link
Owner

g2384 commented Nov 11, 2019

Please try this page: https://g2384.github.io/VHDLFormatter/
I couldn't recreate your issue

LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY Driver IS
	PORT
	(
		x : IN std_logic;
		F : OUT std_logic
	);
END Driver;
ARCHITECTURE behv1 OF Driver IS
BEGIN

	PROCESS (x)
	BEGIN
		IF (x = '1') THEN
			F <= '1';
		ELSE
			F <= '0';
		END IF;
	END PROCESS;

END behv1;

ARCHITECTURE behv2 OF Driver IS
BEGIN

	F <= x;

END behv2;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants