naught
Member level 3
- Joined
- Aug 25, 2012
- Messages
- 59
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 1,288
- Location
- chengdu
- Activity points
- 1,739
sharing blogs about"rising_edge vs clk'event"and "numeric_std vs std_logic_arith"
I have recently learned (yeah, thanks to the edaboard guys~) that some better ways to design my project, like using the rising_edge instead of clk'event, and using the library numeric_std instead of std_logic_arith.
These are two blogs from the vhdlguru that I think explains these issues well.
Difference between rising_edge(clk) and (clk'event and clk='1')
https://vhdlguru.blogspot.com/2010/04/difference-between-risingedgeclk-and.html
Why the library "numeric_std" is preferred over "std_logic_arith" and others?
https://vhdlguru.blogspot.com/2010/03/why-library-numericstd-is-preferred.html
the problems are all the people around me are using the std_logic_arith... I guess I have to blend in...
I have recently learned (yeah, thanks to the edaboard guys~) that some better ways to design my project, like using the rising_edge instead of clk'event, and using the library numeric_std instead of std_logic_arith.
These are two blogs from the vhdlguru that I think explains these issues well.
Difference between rising_edge(clk) and (clk'event and clk='1')
https://vhdlguru.blogspot.com/2010/04/difference-between-risingedgeclk-and.html
Why the library "numeric_std" is preferred over "std_logic_arith" and others?
https://vhdlguru.blogspot.com/2010/03/why-library-numericstd-is-preferred.html
the problems are all the people around me are using the std_logic_arith... I guess I have to blend in...