Hello Everyone, Can you please give me the idea to...
# generative-ai
m
Hello Everyone, Can you please give me the idea to solve this problem stated below: problem Statement: Configurable Output Pin System Objective: Design a digital circuit that generates a configurable output pattern based on two input values, Position and Bit_Length. System Specifications: Inputs: • Position (5 bits): Specifies the starting index of the output pin to be set HIGH. The valid range is from 0 to 31. • Bit_Length (5 bits): Specifies the number of consecutive pins to be set HIGH, starting from the Position. The valid range is from 0 to 31. • Total input pins: 10 (5 for Position, 5 for Bit_Length). Output: • 32 output pins (OutputPin[0] to OutputPin[31]). • The output pattern should have HIGH (1) values on pins from OutputPin[Position] to OutputPin[Position + Bit_Length - 1], with all other pins set to LOW (0). Example: If Position = 23 and Bit_Length = 5, the output should be: OutputPin[22:26] = 1 (HIGH) All other pins = 0 (LOW) Constraints: • Avoid using bit masking or shifting operations. • Aim to design a hardware solution using basic gates, decoder, multiplexers, or other suitable logic components. • The goal is to identify a lightweight approach that achieves the specified output pattern efficiently without introducing excessive complexity or large circuit size. Additional Notes: This design could involve combinational logic that dynamically enables output pins based on the Position and Bit_Length values without using mask generation circuits.
ε
Do you need a prompt ?
a
@Md. Sajjad Hossain I'd suggest typing exactly what you just wrote into Chat GPT o1 or using coding assistant or claude or gemini....and see what it gives you....You could also ask for it to be in HDL, VErilog, VHDL, C code......
👍 2
ε
@Md. Sajjad Hossain @Andy W you can also use a prompt generator. Best one I used is https://console.anthropic.com/dashboard. You simply write a task and the agent creates a prompt.