![]() And I don't know how to model that proprely. ![]() generate but I need to use that i as index.ĭoes anyone know how to fix my code? The main issue is that using serial input, the flipflop are connected in series while parallel input, the flipflops are independent. ![]() The parallel data A a 7, a 6, , a 0 are for representing ASCII characters. I was thinking to use for loop instead of for i. The parallel-to-serial converter uses a shift register, D flip-flop, multiplexer, and counter. My issue is that I need to use a If statement to choose my input (parallel or serial) (which must be inside a process) and I also need a for generate statement because I work with generic n bit register (which cannot be done inside a process) to build the n D-Flipflop. An eight input multiplexer can easily be converted for use as a parallel to serial converter. Shift register is used as Parallel to serial converter, which converts the parallel data into serial data. Following are the applications of shift registers. ![]() I want to build a n bits register which can take both serial or parallel input depending of a bit SERIAL. Based on the requirement, we can use one of those shift registers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |