Design and testing of the embedded system are factors of Electronic engineering. These systems use the properties of ingredients together as a hardware and software.
Designing the functional and task of the desired system would be software development. However, designing PLC, FPGA and AVR Microcontroller would be hardware development.