I’m building an Automatic Room Light Controller that blends FPGA-level logic with a hands-on Arduino prototype. The goal is simple: when the ambient light is low and a person is detected, the room’s smart-home lighting turns on automatically, then switches off when the space is vacant or daylight returns. Here’s what I need from you: • Verilog HDL source code that reads a PIR sensor input, evaluates daylight presence, and drives a light-enable signal. • A self-contained testbench demonstrating realistic timing for both the PIR sensor and LDR signals, ready to run in ModelSim or a comparable simulator. • An Arduino sketch (or clear wiring diagram plus sketch) that performs an analog read of the LDR, receives the occupancy signal, and triggers the smart-home lighting interface—relay, Wi-Fi module, or other actuator of your choice. • Concise documentation describing module hierarchy, state-machine flow, sensor calibration, and how the Verilog logic maps to the Arduino-based prototype for a real-world build. I already decided on a PIR sensor for human detection, and the LDR will be read in analog mode via the Arduino. The final output should be capable of switching a smart home lighting system, not just a single bulb, so please design with scalability in mind. If you’re fluent in Verilog, comfortable on the Arduino IDE, and can explain your work clearly, I’d love to collaborate.