Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity D_FF is
PORT ( D,CLOCK,R : IN STD_LOGIC;
Q : OUT STD_LOGIC);
end D_FF;
architecture Behavioral of D_FF is
begin
PROCESS (CLOCK,R)
begin
IF (R='0') THEN
Q<='1';
ELSIF (CLOCK'EVENT AND CLOCK='1') THEN
Q<=D;
END IF;
END PROCESS;
end Behavioral;
--------------------------------------
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity UP_DOWN_COUNTER is
PORT ( CLOCK,RESET,DOWN : IN STD_LOGIC;
A0,A1,A2,A3 : OUT STD_LOGIC);
end UP_DOWN_COUNTER;
architecture Behavioral of UP_DOWN_COUNTER is
COMPONENT D_FF is
PORT ( D,CLOCK,R : IN STD_LOGIC;
Q : OUT STD_LOGIC);
end COMPONENT;
SIGNAL Q0,Q1,Q2,Q3,QP0,QP1,QP2,QP3 : STD_LOGIC;
SIGNAL CLK1,CLK2,CLK3 : STD_LOGIC;
begin
QP0<=NOT Q0; QP1<=NOT Q1; QP2<=NOT Q2; QP3<=NOT Q3;
CLK1 <= DOWN XOR QP0; CLK2 <= DOWN XOR QP1; CLK3 <= DOWN XOR QP2;
DFF0 : D_FF PORT MAP (QP0,CLOCK,RESET,Q0);
DFF1 : D_FF PORT MAP (QP1,CLK1,RESET,Q1);
DFF2 : D_FF PORT MAP (QP2,CLK2,RESET,Q2);
DFF3 : D_FF PORT MAP (QP3,CLK3,RESET,Q3);
A0<=Q0; A1<=Q1; A2<=Q2; A3<=Q3;
end Behavioral;
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team