Hardware/software simulator of a silicon detector for digital radiography