Im not to sure about the spacing so you will have to figure out by listing to the song but i am sure this
correct
G Riff
----------------------------------------------------------|
----------------------------------------------------------|
-------3--------------------------------------------------|
---5-------5----------------------------------------------|
---------------5---1--------------------------------------|
-----------------------3----------------------------------|
C Riff
[ Tab from: https://www.guitartabs.cc/tabs/d/deep_purple/demon_eye_tab.html ]
----------------------------------------------------------|
----------------------------------------------------------|
--------8-------------------------------------------------|
---10-------10--------------------------------------------|
-----------------10---6-----------------------------------|
--------------------------8-------------------------------|
G Riff x4
C Riff x2
G Riff x2
A#s-Strike once
Cs -Strike once
Ends with this little bit
----------------------------------------------------------|
---8---6--------------------------------------------------|
-----------7---5------------------------------------------|
-------------------3---5----------------------------------|
----------------------------------------------------------|
----------------------------------------------------------|
Well thats it!